UNPKG
@cycle/most-run
Version:
canary (5.0.0-rc.5)
latest (8.4.0)
8.4.0
8.3.0
8.2.0
8.1.0
8.0.0
7.4.0
7.3.0
7.2.0
7.1.0
7.0.0
6.0.0
5.1.0
5.0.0
5.0.0-rc.5
5.0.0-rc.4
5.0.0-rc.3
5.0.0-rc.2
5.0.0-rc.1
4.4.0
4.3.0
4.2.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.0.1
3.0.0
2.0.0
1.0.1
1.0.0
The Cycle run() function to be used with most.js
cycle.js.org
cyclejs/cyclejs
@cycle/most-run
/
lib
/
es6
/
run
/
src
/
adapt.d.ts
7 lines
(6 loc)
•
207 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Stream
}
from
'xstream'
;
export
interface
AdaptStream
{ (
s
:
Stream
<
any
>):
any
; }
export
declare
function
setAdapt
(
f
:
AdaptStream
):
void
;
export
declare
function
adapt
(
stream
:
Stream
<
any
>
):
any
;