Skuld.ForeignResolver.Runner (skuld_concurrency v0.32.0)
View SourceResolution loop for ForeignSuspend values.
Runs a computation through the ForeignResolver protocol until all
foreign suspensions are resolved and the computation completes.
Example
comp
|> FiberPool.with_handler()
|> ForeignResolver.Runner.run()
Summary
Functions
@spec run(Skuld.Comp.Types.computation()) :: term()
Run a computation through the foreign resolution loop.
Returns the computation's final result once all foreign suspensions are resolved.