Module bicoro::executor [−][src]
Expand description
A sample executor that consumes an iterator
It’s not necessary to use this, as run_step is all you need if rolling your own but it’s a good reference, and is fairly generally useable
Enums
Functions
Consumes a coroutine and runs it with the iterated events This may run to completion, or may consume all the inputs The on_output function is called whenever a output is produced Note: it’s expected that shouldn’t ever panic