compute top-level constant

Compute const compute

Runs a function with a given argument in isolate, and returns an operation that can be canceled.

Implementation

const Compute compute = implementation.compute;