Creates a PollingFlowTransfer — polling from OutputFlowInterface (e.g., Storage).
Capabilities: Pullable, Subscribable, Triggerable, Gate
— configuration (flow, interval, activated, onError)
const polling = createPollingFlowTransfer<number>({ flow: storage, interval: 1000, activated: true});polling.subscribe(x => console.log(x)); Copy
const polling = createPollingFlowTransfer<number>({ flow: storage, interval: 1000, activated: true});polling.subscribe(x => console.log(x));
Creates a PollingFlowTransfer — polling from OutputFlowInterface (e.g., Storage).
Capabilities: Pullable, Subscribable, Triggerable, Gate