public static Task Coroutine.Yield()
Executes the yield operation.
Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.
This class is used by IBots to create the loop of actions to make the bot work. Pls look at the NullBot exemple to see the exact implementation. This is a complex class that implement the async Task logic of the bot, you shouldent bother to much with it, just implement it like in NullBot and then execute the real bot logic in TaskManager.
Namespace: DreamPoeBot.Loki.Coroutine
public class CoroutineView DPB2 version โpublic static Task Coroutine.Yield()
Executes the yield operation.
Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.
DPB1 0.3.29.47 ยท Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.