Function

await-request

Waits until the next request is available, and then returns the resulting request and body.

Returns ok(none) if there are no more requests for this sandbox.

await-request: func(pending: pending-request) -> result​<option​<request-with-body>, error>;