Factory that constructs a nevermore strategy pipeline from provided options,
and returns a createExecutor function. Create a limited version of your
function like...
Given your existing, typed async operation, createExecutor creates an
identically-typed operation that schedules its execution within the capacity
limits and behaviours of the pipeline.
For example...
concurrency, rate-limits: executors will delay if other executors are
already using the capacity
timeout : if the underlying operation takes too long, the executor will
throw a timeout error
retry : the underlying operation is retried and the executor only throws
when retries are exhausted
See documentation of NevermoreOptions for more on the available behaviours.
Factory that constructs a nevermore strategy pipeline from provided options, and returns a
createExecutor
function. Create a limited version of your function like...Given your existing, typed async operation,
createExecutor
creates an identically-typed operation that schedules its execution within the capacity limits and behaviours of the pipeline.For example...
See documentation of NevermoreOptions for more on the available behaviours.