Headless Js Task Support Module
open class HeadlessJsTaskSupportModule(reactContext: ReactApplicationContext?) : NativeHeadlessJsTaskSupportSpec
Simple native module that allows JS to notify native of having completed some task work, so that it can e.g. release any resources, stop timers etc.
Functions
Link copied to clipboard
Return true if you intend to override some other native module that was registered e.g. as part of a different package (such as the core one). Trying to override without returning true from this method is considered an error and will throw an exception during initialization. By default all modules return false.
Link copied to clipboard
Link copied to clipboard
This method is called after ReactApplicationContext has been created.
Link copied to clipboard
Allow NativeModule to clean up. Called before React Native instance is destroyed.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Allow NativeModule to clean up. Called before {CatalystInstance#onHostDestroy}