MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / push

Method push

js/botasaurus-server-js/src/ndjson.ts:27–29  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

25 }
26
27 async push(data: any): Promise<void> {
28 return this.performWrite(JSON.stringify(data) + '\n');
29 }
30
31 performWrite(content: any): void | PromiseLike<void> {
32 return new Promise((resolve) => {

Callers 4

streamTaskToTaskMethod · 0.95
writeDeduplicatedTasksFunction · 0.95
writeNdJsonFunction · 0.95
appendNdJsonFunction · 0.95

Calls 1

performWriteMethod · 0.95

Tested by

no test coverage detected