function fromReactiveValue<T extends unknown[], Signal>(
addCallback: (handler: (...args: T) => void) => Signal,
removeCallback: (
handler: (...args: T) => void,
signal:
| {
value: Signal
}
| undefined,
) => void,
): Source<T>1 | function fromReactiveValue<T extends unknown[], Signal>( |
2 | addCallback: (handler: (...args: T) => void) => Signal, |
3 | removeCallback: ( |
4 | handler: (...args: T) => void, |
5 | signal: |
6 | | { |
7 | value: Signal |
8 | } |
9 | | undefined, |
10 | ) => void, |
11 | ): Source<T> |