runOnJS
runOnJS lets you asynchronously run non-workletized functions that couldn't otherwise run on the UI thread. This applies to most external libraries as they don't have their functions marked with "worklet"; directive.
runOnUI
runOnUI lets you asynchronously run workletized functions on the UI thread.