Skip to content

Welshman Docs / @welshman/app / MergedThunk

Class: MergedThunk ​

Defined in: app/src/thunk.ts:205

Constructors ​

Constructor ​

new MergedThunk(thunks): MergedThunk

Defined in: app/src/thunk.ts:211

Parameters ​

thunks ​

Thunk[]

Returns ​

MergedThunk

Properties ​

_subs ​

_subs: Subscriber<MergedThunk>[] = []

Defined in: app/src/thunk.ts:206


details ​

details: Record<string, string> = {}

Defined in: app/src/thunk.ts:209


status ​

status: PublishStatusByRelay = {}

Defined in: app/src/thunk.ts:208


thunks ​

readonly thunks: Thunk[]

Defined in: app/src/thunk.ts:211

Methods ​

_notify() ​

_notify(): void

Defined in: app/src/thunk.ts:242

Returns ​

void


subscribe() ​

subscribe(subscriber): () => void

Defined in: app/src/thunk.ts:248

Parameters ​

subscriber ​

Subscriber<MergedThunk>

Returns ​

(): void

Returns ​

void