Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 428 Bytes

Reagent.md

File metadata and controls

18 lines (12 loc) · 428 Bytes
Reagents.Reagent

Composable description for nonblocking and synchronous operations.

Reagents can be composed with although it is recommended to use the opposite composition operator . A composed Reagent can be called, just like a function, to actually execute the side-effects.

Example

julia> using Reagents

julia> reagent = Reagents.Return(1)  Reagents.Map(string);

julia> reagent()
"1"