Skip to content

@epikodelabs/streamix


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

Interface: AtomExpr<T> ​

Defined in: projects/libraries/streamix/src/lib/atoms/expr.ts:15

Scope-definition marker for a writable atom.

Use inside scope({...}) when a field should stay writable but needs atom options or an explicitly optional initial value.

Type Parameters ​

T ​

T = any

Properties ​

[ATOM_EXPR] ​

[ATOM_EXPR]: true

Defined in: projects/libraries/streamix/src/lib/atoms/expr.ts:16


initialValue? ​

optional initialValue?: T

Defined in: projects/libraries/streamix/src/lib/atoms/expr.ts:17


options? ​

optional options?: AtomOptions

Defined in: projects/libraries/streamix/src/lib/atoms/expr.ts:18

Released under the MIT License.