Pull stream from Promise
Convert a Promise into a pull stream source.
fromPromise(Promise <promise>[, Boolean <spread>]) -> PullStream
fromPromise(Promise <promise>) -> PullStream
fromPromise(Promise(Array) <promise>, true) -> PullStream
Call with true
for the spread
parameter and the promise will be expected
to resolve to an array and each item be pushed to the pull stream.
var pull = ;var formPromise = ; ;
var pull = ;var formPromise = ; ;