![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <goal.hh>
Public Member Functions | |
| Co< T > | get_return_object () |
| template<typename R> | |
| void | return_value (R &&r) |
| Public Member Functions inherited from nix::Goal::AwaitableFrameBase | |
| InitialSuspend | initial_suspend () |
| FinalAwaiter | final_suspend () noexcept |
| void | unhandled_exception () |
| template<typename T> | |
| CoAwaiter< T > | await_transform (Co< T > &&co) |
| template<typename T> | |
| auto | await_transform (AsyncCallback< T > &&acb) |
| SuspendAwaiter | await_transform (Suspend) |
| ChildEventAwaiter | await_transform (WaitForChildEvent) |
Additional Inherited Members | |
| Protected Attributes inherited from nix::Goal::AwaitableFrameBase | |
| std::optional< CoBase > | continuation |
| void * | resultSlot = nullptr |
| void(*) | moveResult (AwaitableFrameBase *from, void *to) noexcept = nullptr |
| Goal * | goal = nullptr |
| bool | alive = true |
Promise type for coroutines defined using Co. Attached to coroutine handle.
|
inline |