MCPcopy Create free account
hub / github.com/Noumena-Network/code / return

Method return

src/utils/stream.ts:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 }
69
70 return(): Promise<IteratorResult<T, unknown>> {
71 this.isDone = true
72 if (this.returned) {
73 this.returned()
74 }
75 return Promise.resolve({ done: true, value: undefined })
76 }
77}

Callers 3

callFunction · 0.80
HistorySearchDialogFunction · 0.80
useHistorySearchFunction · 0.80

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected