This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Stream Muxer should be allowed to return a promise #287
Labels
need/triage
Needs initial labeling and prioritization
Sometimes a stream muxer needs to do some async work before it can return a new stream (as is the case with webtransport). The current implementation already calls
newStream
from an async function, so it wouldn't be a big change. In fact, the connection interface already returns aPromise<Stream>
when a user callsnewStream(...)
, so this is inline with that async context.The text was updated successfully, but these errors were encountered: