DEV Community

Discussion on: Redesigning a framework

Collapse
 
stevealee profile image
SteveALee

That's very neat Jan!

I'd like to see details of the HTTP driver as well. After all, the big issue is the seperate handling of request and response and how it breaks the flow. How is the HTTP.get() implemented? Does the approach work for other "pulls" like Random.get()?

Collapse
 
jvanbruegge profile image
Jan van Brügge

Hi Steve,
did not get a notification for the answers, so I am a bit late, but anyways: All of the code is in this PR including the HTTP driver! And yes the same will work for stuff like Random.get()