API

Interface ComputeOneShot

One-shot scheduling state for a compute task on its current device.

interface ComputeOneShot {
    "[computeOneShotBrand]": true;
    completion: Promise<void>;
    task: ComputeTask;
}
Index
"[computeOneShotBrand]": true
completion: Promise<void>

Promise for the currently armed execution.