Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / src/public-api / NEXT

Function: NEXT() ​

NEXT<R>(value): object

Defined in: projects/libraries/streamix/src/lib/atoms/operator.ts:44

Factory function to create a normal stream result.

Type Parameters ​

R ​

R = any

The type of the emitted value.

Parameters ​

value ​

R

The value to emit downstream.

Returns ​

object

A IteratorResult<R> object with { done: false, value }.

done ​

readonly done: false

value ​

readonly value: R

Released under the MIT License.