Ashet OS

enum: ashet.Await_Options.Wait

Items

dont_block = 0

Don't wait for any additional calls to complete, just return whatever was completed in the meantime.

wait_one = 1

Wait for at least a single call to complete operation.

wait_all = 2

Wait 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_affinity is .all_threads, other threads can still schedule more operations and make this function block longer.