UNPKG
@cycle/run
Version:
canary (5.2.0-rc.4)
latest (5.7.0)
5.7.0
5.6.0
5.5.0
5.4.0
5.3.0
5.2.0
5.2.0-rc.4
5.2.0-rc.3
5.2.0-rc.2
5.2.0-rc.1
5.2.0-rc.0
5.1.0
5.1.0-rc.1
5.1.0-rc.0
5.0.0
5.0.0-rc.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
4.0.0-rc.4
4.0.0-rc.3
4.0.0-rc.2
4.0.0-rc.1
3.4.0
3.3.0
3.2.0
3.1.0
3.0.0
2.0.0
1.0.0
1.0.0-rc.9
1.0.0-rc.8
1.0.0-rc.7
1.0.0-rc.6
1.0.0-rc.5
1.0.0-rc.4
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
The Cycle.js run() function to use with xstream
cycle.js.org
cyclejs/cyclejs
@cycle/run
/
lib
/
es6
/
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
;