Skip to content

Welshman Docs / @welshman/app / makeOutboxLoader

Function: makeOutboxLoader() ​

makeOutboxLoader(kind): (pubkey, relays) => Promise<[TrustedEvent[], TrustedEvent[]]>

Defined in: app/src/relaySelections.ts:17

Parameters ​

kind ​

number

Returns ​

(pubkey, relays): Promise<[TrustedEvent[], TrustedEvent[]]>

Parameters ​

pubkey ​

string

relays ​

string[]

Returns ​

Promise<[TrustedEvent[], TrustedEvent[]]>