Glimesh / janus-ftl-plugin

A plugin for the Janus WebRTC gateway to enable relaying of audio/video streams utilizing Mixer's FTL (Faster-Than-Light) protocol.
https://hayden.fyi/posts/2020-08-03-Faster-Than-Light-protocol-engineering-notes.html
GNU Affero General Public License v3.0
44 stars 11 forks source link

Add more friendly helpers for testing async code #125

Open danstiner opened 3 years ago

danstiner commented 3 years ago

Our tests that cover multi-threaded / event loop code right now do wait loops to handle the asynchronicity.

Maybe we can find a better way to handle this in the future.

_Originally posted by @haydenmc in https://github.com/Glimesh/janus-ftl-plugin/pull/119#discussion_r616382603_