function / @typed/vue

useRefSubject

Observe a RefSubject and write through its Effect update path in the Vue scope.

Package version
1.0.0-beta.13
Category
function

Import

import { useRefSubject } from "@typed/vue";

Signatures

export declare function useRefSubject<A, E, R, ER = never>(subject: MaybeRefOrGetter<RefSubject.RefSubject<A, E, R | Scope.Scope>>, options?: ReactiveOptions<A, E, R, ER>): RefSubjectState<A, E | ER>;

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source