Documents injecute 1.x · Migrating from 0.x
Skip to content

Interface: ForkOptions ​

Defined in: src/types.ts:219

Options for fork().

Properties ​

isolated? ​

optional isolated?: boolean

Defined in: src/types.ts:224

Run and own every service the fork resolves, including ones registered in its parents, so overrides in the fork reach the whole graph and nothing leaks back. Default: false.


middlewares? ​

optional middlewares?: boolean

Defined in: src/types.ts:226

Inherit middlewares from this container and its ancestors. Default: true.

Released under the MIT License.