Skip to content

Commit

Permalink
Implement getRuntimeExecutor for BridgelessCatalystInstance
Browse files Browse the repository at this point in the history
Summary:
Implement `getRuntimeExecutor()` for BridgelessCatalystInstance

Changelog:
[Android][Breaking] Implement `getRuntimeExecutor()` for Bridgeless Catalyst Instance

Differential Revision: D56046398
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Apr 12, 2024
1 parent 78d523d commit 3def85b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public class BridgelessCatalystInstance(private val reactHost: ReactHostImpl) :
throw UnsupportedOperationException("Unimplemented method 'getJavaScriptContextHolder'")
}

override fun getRuntimeExecutor(): RuntimeExecutor {
throw UnsupportedOperationException("Unimplemented method 'getRuntimeExecutor'")
override fun getRuntimeExecutor(): RuntimeExecutor? {
return reactHost.getRuntimeExecutor()
}

override fun getRuntimeScheduler(): RuntimeScheduler {
Expand Down

0 comments on commit 3def85b

Please sign in to comment.