UNPKG
@tempest/core
Version:
latest (0.3.1)
0.3.1
0.3.0
0.2.0
0.0.2
0.0.1
The core of the Tempest Stream Library
@tempest/core
/
lib
/
source
/
fromArray.d.ts
9 lines
(8 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Source
,
Sink
,
Scheduler
}
from
'../interfaces'
;
export
declare
class
FromArraySource
<T>
implements
Source
<T> {
private
array;
constructor
(
array
: T[]
);
run
(
sink
:
Sink
<T>,
scheduler
:
Scheduler
): {
dispose
:
() =>
void
; }; }