MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / preStart

Method preStart

js/botasaurus-server-js/src/ndjson.ts:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 this.sep = "";
72 }
73 override async preStart() {
74 await this.performWrite('[');
75 }
76
77 override async push(data: any): Promise<void> {
78 const content = this.sep + JSON.stringify(data);

Callers 2

writeJsonStreamedFunction · 0.95
writeJsonFunction · 0.95

Calls 1

performWriteMethod · 0.45

Tested by

no test coverage detected