New Datatype and Combinator for Request-Response Messages

Now effect/io has "X extends Request<E, A>" which is basically a great way to represent a message of shape X that either resolves with A or fails with E.

This problem is common right now to many community packages such as @Tim Smart 's RPC and any message/request-response powered env.

Why not move that datatype to /data and also introduce inside /schema a "SchemedRequest" combinator that requires schemes for X, E and A, and when parsing attaches to X the schemes for E and A inside symbols?

cc @gcanti @Michael Arnaldi
Was this page helpful?