Expand description
This contains all the types and logic needed when a stream procedure is opened in whatever of the two sides (client or server).
It contains the Generator type used when a server or a client wants to consume the stream opened and its messages.
Structs§
- Generator
- Generator struct contains only one field which it’s an unbounded receiver from unounded channel from
tokiocrate - Generator
Yielder - The other half for a
Generator. It contains an only one field which it’s an unbounded sender from a unbounded channel fromtokiocrate - Stream
Protocol - It knows how to process all the stream messages for client streams, server streams and bidirectional streams.
Enums§
- Generator
Error - Errors related with
GeneratorandGeneratorYielder