wima
    Preparing search index...

    Class Executable

    This is the binding between a labeled schedule and its runtime configuration.

    function helloWorld(){
    console.log("hello world")
    }

    const world = new World()
    const scheduler = new Scheduler()
    const runner = defaultRunner
    const executable = new Executable({ label: "startup", repeat: false })

    scheduler.set(executable)
    scheduler.get("startup").add(helloWorld)

    //Runs the schedule with the given config
    //outputs "hello world" to the console.
    runner.run(scheduler, world)
    Index

    Constructors

    Properties

    defaultSystemGroup: Constructor<unknown>
    delay: number
    errorHandler: (error: Error, world: World) => void
    label: Constructor<unknown>
    repeat: boolean
    schedule: Schedule = ...

    Accessors