Expand description
The effect handling “lanes” an EffectRouter can
dispatch to.
Each route handles a category of effects in a particular way:
Serializedis the default, bridge-like lane that exchanges bytes with the shell.Parkedholds requests under anEffectIdfor a custom, user-owned FFI carrying opaque or non-serializable data.Buffercollects requests for the caller to drain and handle in process.
Structs§
- Buffer
- A route that simply collects requests for the caller to drain and handle.
- Parked
- A route for effects handled over a custom, user-owned FFI.
- Serialized
- The default route, reproducing the standard
Bridgebehaviour on top of theEffectRouter.