Effect-TS / effect

An ecosystem of tools for building production-grade applications in TypeScript.
https://effect.website
MIT License
7.19k stars 230 forks source link

Idea: Sockets #3039

Open schickling opened 3 months ago

schickling commented 3 months ago

What is the problem this feature would solve?

What is the feature you are proposing to solve the problem?

Some sort of Socket abstraction. TBD.

What alternatives have you considered?

No response

IMax153 commented 3 months ago

There is some work already done on sockets in /platform FYI:

It's used to enable the functionality of the dev tools backend for the VSCode extension.

mikearnaldi commented 3 months ago

There is some work already done on sockets in /platform FYI:

It's used to enable the functionality of the dev tools backend for the VSCode extension.

Seems like this is lower level compared to what's discussed here, the discussed abstraction is more alike a bilateral rpc over a stateful channel, maybe Socket isn't the right name for the abstraction