Race a ResultAsync against a timer. If ms elapses first, resolves
with err(onTimeout()); otherwise resolves with the original result. The
underlying promise keeps running — timeout does not cancel it.
Dual API — works data-first or curried for use in pipe.
Race a ResultAsync against a timer. If
mselapses first, resolves witherr(onTimeout()); otherwise resolves with the original result. The underlying promise keeps running —timeoutdoes not cancel it.Dual API — works data-first or curried for use in
pipe.