enum: ashet.Await_Options.Wait
Items
dont_block = 0Don't wait for any additional calls to complete, just return whatever was completed in the meantime.
wait_one = 1Wait for at least a single call to complete operation.
wait_all = 2Wait until all scheduled operations have completed.
This will only wait so long until either a) all scheduled ops are stored into the result array or b) the result array is full
Note:
If
thread_affinityis.all_threads, other threads can still schedule more operations and make this function block longer.