Searched refs:cleanupCallback (Results 1 – 6 of 6) sorted by relevance
98 target: JSFunction)(cleanupCallback: JSAny): JSFinalizationRegistry {104 // 2. If IsCallable(cleanupCallback) is false, throw a TypeError exception.105 const cleanupCallback = Cast<Callable>(cleanupCallback) otherwise116 // 6. Set finalizationRegistry.[[CleanupCallback]] to cleanupCallback.117 finalizationRegistry.cleanup = cleanupCallback;
72 new(cleanupCallback: (heldValue: any) => void): FinalizationRegistry;
72 new<T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;
52 new<T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;
440 constructor(cleanupCallback) { super(cleanupCallback); } argument
765 auto cleanupCallback = GrRefCntedCallback::Make(deleteJSTexture, releaseCtx); in onGenerateTexture() local772 std::move(cleanupCallback)); in onGenerateTexture()