bytebox - v1.0.0
    Preparing search index...

    Interface ByteboxModule

    interface ByteboxModule {
        exports: Record<string, unknown>;
        instance: Instance;
        module: Module;
        scheduler: Scheduler;
        call(name: string, ...args: unknown[]): unknown;
        drain(options?: DrainOptions): DrainResult;
        drainAsync(options?: DrainOptions): Promise<DrainResult>;
    }
    Index
    exports: Record<string, unknown>

    Entry points TeaVM exported, each read through its backing global.

    instance: Instance
    module: Module
    scheduler: Scheduler

    The fiber queue this module's threads and suspensions run on.

    • Runs one entry point by name, rewrapping a Java throwable as a JavaError.

      Parameters

      • name: string
      • ...args: unknown[]

      Returns unknown