Supervisor
Supervisor:
object
Defined in: Core/Supervisor.ts:28
Type Declaration
Section titled “Type Declaration”make: <
E>(task,config) =>Supervisor<E> =makeSupervisor
Creates a supervisor around a long-running task and its restart policy.
Type Parameters
Section titled “Type Parameters”E
Parameters
Section titled “Parameters”Result<E, void>
config
Section titled “config”restart
Section titled “restart”RetryPolicy<E>
Returns
Section titled “Returns”Supervisor<E>
Supervisor for the attempt, restart, and shutdown rules.