Why does Async::HTTP::Server#run
require an Async::Task
, but Async::DNS::Server#run
does not?
#115
Unanswered
postmodern
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I also noticed that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that
Async::HTTP::Server#run
must be called within an existingAsync
task, butAsync::DNS::Server#run
always runs in a newAsync::Reactor
. Is this intentional?Beta Was this translation helpful? Give feedback.
All reactions