How to use the @most/core.scan function in @most/core

To help you get started, we’ve selected a few @most/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github motorcyclejs / motorcyclejs / stream / src / combinators / reduce.ts View on Github external
return new Promise<b>((resolve, reject) =&gt;
    observe(resolve, last(scan(f, seed, stream))).catch(reject),
  )</b>