Function createDataStreamAtom
- createDataStreamAtom<T>(context): StateAtom<DataStream<T>, {
clear: ((dataStream) => boolean);
close: ((dataStream) => boolean);
open: ((dataStream) => boolean);
push: ((d, ...v) => boolean);
throw: ((dataStream, error) => boolean);
}>
-
Returns StateAtom<DataStream<T>, {
clear: ((dataStream) => boolean);
close: ((dataStream) => boolean);
open: ((dataStream) => boolean);
push: ((d, ...v) => boolean);
throw: ((dataStream, error) => boolean);
}>