Documentation / @hybrid-compute/local / createLocalCompute
Function: createLocalCompute()
ts
function createLocalCompute(): LocalCompute;Defined in: index.ts:187
Creates a LocalCompute backend with no tasks registered.
Returns
A new LocalCompute instance.
Example
ts
const local = createLocalCompute();
local.registerTask({ name: 'echo', run: (input: string) => input });