MCPcopy
hub / github.com/bee-queue/bee-queue / toData

Method toData

lib/job.js:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 toData() {
44 return JSON.stringify({
45 data: this.data,
46 options: this.options,
47 status: this.status,
48 progress: this.progress,
49 });
50 }
51
52 // For Queue#saveAll, this method is guaranteed to invoke evalScript
53 // synchronously.

Callers 3

_saveMethod · 0.95
_finishJobMethod · 0.80
queue-test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected