one
Version:
One is a React framework for web, iOS, and Android apps.
13 lines (10 loc) • 564 B
JavaScript
import { createWorkletExecutor } from "./background/executor.native.js";
import { createLatestComputation } from "./background/createLatestComputation.native.js";
import { useBackgroundComputation } from "./background/useBackgroundComputation.native.js";
function defineBackgroundComputation(calculate) {
return Object.freeze({ createExecutor: function createExecutor() {
return createWorkletExecutor(calculate);
} });
}
export { createLatestComputation, defineBackgroundComputation, useBackgroundComputation };
//# sourceMappingURL=background.native.js.map