## System::Threading::Tasks::Yield method


Creates an awaitable task that asynchronously yields back to the current context when awaited.

```cpp
Runtime::CompilerServices::YieldAwaitable System::Threading::Tasks::Yield()
```


### ReturnValue

A YieldAwaitable that can be awaited to yield control.
## Remarks



This method is useful for forcing an asynchronous method to yield control, allowing other pending work to be processed before continuing. 
## See Also

* Class [YieldAwaitable](../../system.runtime.compilerservices/yieldawaitable/)
* Namespace [System::Threading::Tasks](../)
* Library [Aspose.PDF for C++](../../)
