mwg API
    Preparing search index...

    Interface PyroeisCoroutine

    A Lua thread driven by the host: resume runs it until it yields or returns (done), and values are what it yielded or returned.

    interface PyroeisCoroutine {
        status: "running" | "suspended" | "dead";
        close(): void;
        resume(
            args?: readonly PyroeisValue[],
        ): { done: boolean; values: readonly PyroeisValue[] };
    }
    Index
    status: "running" | "suspended" | "dead"