MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / AsyncChannel

Interface AsyncChannel

src/core/async-channel.ts:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 */
8
9export interface AsyncChannel<T> {
10 push(value: T): void
11 close(): void
12 error(err: Error): void
13 [Symbol.asyncIterator](): AsyncIterableIterator<T>
14}
15
16export function createChannel<T>(): AsyncChannel<T> {
17 const queue: T[] = []

Callers 12

decodeComboLegsMethod · 0.65
decodeAlgoParamsMethod · 0.65
decodeConditionsMethod · 0.65
applyHistoricalFunction · 0.65
encodeContractFunction · 0.65
encodeContractLegacyFunction · 0.65
runOneFunction · 0.65
readUTAsConfigFunction · 0.65
dispatchFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected