Hold up a stream until a promise resolves. If it errors, the error will be emitted to the stream.
----a-------b------|interpose(async () => await setTimeout(50))--------a--------b-| Copy
----a-------b------|interpose(async () => await setTimeout(50))--------a--------b-|
Generated using TypeDoc
Hold up a stream until a promise resolves. If it errors, the error will be emitted to the stream.