Dynamic module domain

Index

Interfaces

Functions

Functions

add(emitter: NodeEventEmitter)

Parameters

bind(cb: (er: Error, data: any) => any): any

Parameters

  • cb: (er: Error, data: any) => any

Returns

any

create(): Domain

Returns

Domain

dispose()

intercept(cb: (data: any) => any): any

Parameters

  • cb: (data: any) => any

Returns

any

remove(emitter: NodeEventEmitter)

Parameters

run(fn: Function)

Parameters

  • fn: Function