Configuration for the timeout resilience middleware. Rejects if the middleware result does not complete within the specified time; it does not cancel or abort next().
timeout
IMPORT_PATH: "@daiso-tech/core/resilience"
"@daiso-tech/core/resilience"
Optional
The maximum time to wait before automatically aborting the executing function.
import { TimeSpan } from "@daiso-tech/core/time-span";TimeSpan.fromSeconds(2) Copy
import { TimeSpan } from "@daiso-tech/core/time-span";TimeSpan.fromSeconds(2)
Configuration for the
timeoutresilience middleware. Rejects if the middleware result does not complete within the specified time; it does not cancel or abort next().IMPORT_PATH:
"@daiso-tech/core/resilience"