|
Uni20
Asynchronous tensor and runtime library.
|
Awaiter that registers explicit exception sinks and then resumes immediately. More...
#include <buffers.hpp>
Public Member Functions | |
| bool | await_ready () const noexcept |
| Always ready; no suspension required. | |
| void | await_resume () noexcept |
| No-op resume hook. | |
| BasicTask | await_suspend (BasicTask &&task) noexcept |
| Pass through the currently-running task unchanged. | |
| PropagateExceptionsAwaiter (Buffers &... buffers) | |
| Construct from references to sink buffers. | |
| void | register_exception_sinks (TaskPromiseBase &promise) const |
| Register all configured buffers as explicit exception sinks. | |
Awaiter that registers explicit exception sinks and then resumes immediately.
| Buffers | Buffer types that implement register_exception_sink. |
|
inlineexplicit |
Construct from references to sink buffers.
| buffers | Buffers that should receive unhandled exceptions. |
|
inlinenoexcept |
Always ready; no suspension required.
true.
|
inlinenoexcept |
No-op resume hook.
|
inlinenoexcept |
Pass through the currently-running task unchanged.
| task | Current owning task. |
|
inline |
Register all configured buffers as explicit exception sinks.
| promise | Promise that owns the sink list. |