MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_return_object()

SoundRoutine MayaFlux::Vruta::audio_promise::get_return_object ( )

Creates the SoundRoutine object returned to the caller.

Returns
A new SoundRoutine that wraps this promise

This method is called by the compiler-generated code when a coroutine function is invoked. It creates the SoundRoutine object that will be returned to the caller and associates it with this promise.

Definition at line 19 of file Routine.cpp.

20{
21 return { std::coroutine_handle<audio_promise>::from_promise(*this) };
22}