MCPcopy
hub / github.com/kefirjs/kefir / _handleValue

Function _handleValue

src/one-source/take-while.js:12–19  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

10 },
11
12 _handleValue(x) {
13 const fn = this._fn
14 if (fn(x)) {
15 this._emitValue(x)
16 } else {
17 this._emitEnd()
18 }
19 },
20}
21
22const S = createStream('takeWhile', mixin)

Callers

nothing calls this directly

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…