(u: unknown): u is SubscriptionRef<unknown>Returns true if the provided value is a SubscriptionRef.
When to use
Use to narrow an unknown value before calling SubscriptionRef operations
that require a subscription reference.
export const const isSubscriptionRef: (
u: unknown
) => u is SubscriptionRef<unknown>
Returns true if the provided value is a SubscriptionRef.
When to use
Use to narrow an unknown value before calling SubscriptionRef operations
that require a subscription reference.
isSubscriptionRef: (u: unknownu: unknown) => u: unknownu is interface SubscriptionRef<in out A>A mutable reference whose updates are serialized and published to
subscribers.
When to use
Use to observe the current value and subsequent updates as a
stream.
The SubscriptionRef namespace containing type definitions associated with
subscription references.
SubscriptionRef<unknown> = (
u: unknownu: unknown
): u: unknownu is interface SubscriptionRef<in out A>A mutable reference whose updates are serialized and published to
subscribers.
When to use
Use to observe the current value and subsequent updates as a
stream.
The SubscriptionRef namespace containing type definitions associated with
subscription references.
SubscriptionRef<unknown> => import hasPropertyhasProperty(u: unknownu, const TypeId: "~effect/SubscriptionRef"TypeId)