Skip to main content
Version: 5.9

ForkOptions

Index

Properties

optionalclear

clear?: boolean

do we want clear identity map? defaults to true

optionalcloneEventManager

cloneEventManager?: boolean

do we want to clone current EventManager instance? defaults to false (global instance)

optionaldisableContextResolution

disableContextResolution?: boolean

use this flag to ignore current async context - this is required if we want to call em.fork() inside the getContext handler

optionaldisableTransactions

disableTransactions?: boolean

disable transactions for this fork

optionalflushMode

flushMode?: FlushMode

set flush mode for this fork, overrides the global option, can be overridden locally via FindOptions

optionalfreshEventManager

freshEventManager?: boolean

do we want to use fresh EventManager instance? defaults to false (global instance)

optionalschema

schema?: string

default schema to use for this fork

optionaluseContext

useContext?: boolean

use request context? should be used only for top level request scope EM, defaults to false