runtime()
Function in Runtime
The default runtime: the one configure named, or one on the device the call layer uses, so a resource made on either layer is used on the other.
import { runtime } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
function runtime(): Promise<Runtime>Return value
Promise<Runtime>
Description
Rejects where there is no WebGPU.
Source
src/runtime/runtime.ts, line 446, at commit 26de7be8