MCPcopy
hub / github.com/kefirjs/kefir / to-promise.js

File to-promise.js

test/specs/to-promise.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const {stream, prop, send, value, error, end, expect} = require('../test-helpers')
2
3function Promise1(cb) {
4 const promise = {type: 1, fulfilled: false, rejected: false}

Callers

nothing calls this directly

Calls 4

streamFunction · 0.85
endFunction · 0.85
valueFunction · 0.50
errorFunction · 0.50

Tested by

no test coverage detected