Async requests
To send async requests use nc.send_async.
It has two more keyword args:
-
amount: None | intAmount of requests to send. Default is
1. -
threads: None | intHow many threads to use. Default is
1.
Function returns nc.AsyncResponses.
Rusty inner workings
NeoCurl uses Tokio Runtime to schedule amount of tasks across threads concurent threads.
Total amount of requests ran is not amount * threads. Tasks are split equally across all threads.