Skip to main content

@webda/coreReadme | API


Class: WaitDelayerFactories

Registry for DelayerFactory

Constructors

new WaitDelayerFactories()

new WaitDelayerFactories(): WaitDelayerFactories

Returns

WaitDelayerFactories

Properties

registry

static registry: Object

Index signature

[key: string]: WaitDelayerFactory

Source

packages/core/src/utils/waiter.ts:50

Methods

get()

static get(definition): WaitDelayer

Parameters

definition: WaitDelayerDefinition= undefined

to get delayer from

Returns

WaitDelayer

Source

packages/core/src/utils/waiter.ts:78


getFactory()

static getFactory(type): WaitDelayerFactory

Return a registered delayer

Parameters

type: string

Returns

WaitDelayerFactory

Source

packages/core/src/utils/waiter.ts:69


registerFactory()

static registerFactory(type, delayer): void

Add a delayer

Parameters

type: string

delayer: WaitDelayerFactory

Returns

void

Source

packages/core/src/utils/waiter.ts:60