MCPcopy Create free account
hub / github.com/ShouChenICU/FastSend / constructor

Method constructor

app/utils/PeerDataChannel.ts:250–252  ·  view source on GitHub ↗
(handler: (e: T) => Promise<void>)

Source from the content-addressed store, hash-verified

248 private handler: (e: T) => Promise<void>
249
250 constructor(handler: (e: T) => Promise<void>) {
251 this.handler = handler
252 }
253
254 public enqueue(e: T): void {
255 // 每次把新任务链到上一个任务后面

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected