IdentifiableContinuation is a new micro package I've released. Using task cancellation handlers with continuations can be awkward — making them Identifiable can simplify things.
github.com/swhitty/Identi…
FlyingFox 0.9.0 is now available including initial support for kqueue / epoll.
github.com/swhitty/Flying…
FlyingFox is a lightweight HTTP server written in Swift using async/await
@simonwhitty I’m trying FlyingFox, nice work. I’m using it in UI Tests and wanted to await on the server in setUp and tearDown. I can await on the Task.value for shutting it down, but couldn’t see a way to await on starting it?
@AshtonDev Ah yes, there is a method that waits until the server is listening.
A default timeout of 5 seconds is used before it throws an error, but you can customise that to your needs. You don’t want you test waiting forever.
@CassiusPacheco I agree AsyncSequence is the future but I’m glad that Combine is still getting attention. Primary associated types make it so much more usable.