DPB1Class · Bots, plugins and tasks

Coroutine

Provides coroutine data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Framework

public class Coroutine
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

Coroutine

MethodLink ↗
public Coroutine.Coroutine(Action action, YieldBase condition, string owner, string name = null, bool autoStart = true)

Creates a new Coroutine instance using the supplied arguments.

Parameters

action
Parameter type: ActionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies action.

condition

Specifies condition.

owner
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies owner.

name
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies name. Optional; the default is shown in the signature.

autoStart
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies auto start. Optional; the default is shown in the signature.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.