Skip to content

Signal

Extends

  • Signal<THandler>

Type parameters

THandler extends (…args) => any

Constructors

new Signal()

new Signal<THandler>(): Signal<THandler>

Returns

Signal<THandler>

Inherited from

TsSignal<THandler>.constructor

Methods

connectNTimes()

connectNTimes(callback, times, order?): SignalConnection

Parameters

callback: THandler

times: number

order?: number

Returns

SignalConnection

Source

src/signals/Signal.ts:27


connectOnce()

connectOnce(callback, order?): SignalConnection

Parameters

callback: THandler

order?: number

Returns

SignalConnection

Source

src/signals/Signal.ts:14