Skip to content

@epikodelabs/streamix


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

Function: from()

from<R>(value): Atom<R>

Defined in: projects/libraries/streamix/src/lib/factories/from.ts:10

Normalizes any value type into an AtomBase using your system's native atom/flow primitives.

Type Parameters

R

R = any

Parameters

value

PipeInput<R> | (signal?) => MaybePromise<R>

Returns

Atom<R>

Released under the GNU AGPL v3 or later.