@pbroom/color-kit/computeTypes
PlaneComputeBackend
Something that can execute plane compute requests synchronously.
import type { PlaneComputeBackend } from '@pbroom/color-kit/compute';types.ts:97interface PlaneComputeBackend {
kind: 'js';
run: (request: PlaneComputeRequest) => PlaneComputeResponse;
}Properties
- kind
'js' - Backend identifier.
- run
(request: PlaneComputeRequest) => PlaneComputeResponse - Runs every query in the request and returns packed results.