4 ms·
This looks cool. Something I really never get with async is the executor: - if I use this do I have do use tokio or async-std ? none ? is the code assuming an
by dnpp123 7y ago
This looks cool. Something I really never get with async is the executor:
- if I use this do I have do use tokio or async-std ? none ? is the code assuming an executor ?
- e.g can I use this library with, let's say, hyper ? tide ?
- yoshuaw 7y agoThis library assumes `async-std`; the way it parallelizes work is by spawning tasks on an executor, so by design it needs to have access to one. Without that we couldn't provide the API we do. I haven't tested it with `hyper`, but it should soon be compatible with `tide`(assuming `async-h1/async-std` is used as the backend).