This is a calculation context type. It is represented with a function, that receives some value (effect) and returns the result (effect processing results). Can be also thought as "effect handler".
When using generators-based calculation, there's no need to use this function directly - the syntax construct
yield plays its role.
Type of return value of the generator function.
Type, denoting the generic calculation context (both sync and generators).
This type allows generic typization of the identifiers's calculation function (a single type both for the synchronous and generator-based functions).
Symbol to denote the generator calculation context
Symbol to denote the synchronous calculation context
Generated using TypeDoc