Skip to main

fromReactiveValue

fromReactiveValue

Signature - source.ts#L1028

function fromReactiveValue<T extends unknown[], Signal>(
    addCallback: (handler: (...args: T) => void) => Signal,
    removeCallback: (
        handler: (...args: T) => void,
        signal:
            | {
                  value: Signal
              }
            | undefined,
    ) => void,
): Source<T>