Takes a promise p, and returns a new one which rejects if p takes too long, and otherwise passes the result through.
p
Generated using TypeDoc
Takes a promise
p
, and returns a new one which rejects ifp
takes too long, and otherwise passes the result through.