Creates a ReadTransfer — an adapter for reading from OutputFlowInterface.
Capabilities: Pullable
— configuration (flow, onError)
const reader = createReadTransfer<number>({ flow: storage});console.log(reader.pull()); // storage.read() Copy
const reader = createReadTransfer<number>({ flow: storage});console.log(reader.pull()); // storage.read()
Creates a ReadTransfer — an adapter for reading from OutputFlowInterface.
Capabilities: Pullable