UNPKG

@shopify/react-native-skia

Version:

High-performance React Native Graphics using Skia

11 lines (10 loc) 370 B
import type { DependencyList } from "react"; import { RNSkReadonlyValue } from "./RNSkReadonlyValue"; export declare class RNSkComputedValue<T> extends RNSkReadonlyValue<T> { constructor(callback: () => T, dependencies: DependencyList); private dependecyUpdated; private _callback; private _unsubscribers; unsubscribe(): void; dispose(): void; }