Package-level declarations

Types

Link copied to clipboard
interface EventEmitter
Link copied to clipboard
class EventEmitterAndroid(reactContext: ReactApplicationContext, supportedEvents: List<String>) : EventEmitter
Link copied to clipboard
class EventEmitterIOS(getCallableJSModule: () -> RCTCallableJSModules?, supportedEvents: List<String>) : EventEmitter
Link copied to clipboard
typealias ExceptionInterceptor = (throwable: Throwable) -> Map<String, Any?>
Link copied to clipboard
Link copied to clipboard
typealias IOSResolvePromise<T> = (T) -> Unit
Link copied to clipboard
data class PromiseIOS<T>(val resolve: IOSResolvePromise<T>, val reject: IOSRejectPromise)
Link copied to clipboard
class RCTBridgeMethodWrapper(jsName: String, action: (arguments: List<*>, promise: PromiseIOS<*>) -> Unit) : NSObject, RCTBridgeMethodProtocol
Link copied to clipboard
abstract class ReactNativeModuleBase(reactContext: ReactApplicationContext, supportedEvents: List<String>) : ReactContextBaseJavaModule
Link copied to clipboard
actual interface ReactNativeModuleProvider
expect interface ReactNativeModuleProvider
actual interface ReactNativeModuleProvider

Functions

Link copied to clipboard
Link copied to clipboard
fun List<ReactNativeModuleProvider>.getModules(reactApplicationContext: ReactApplicationContext, lifecycleScope: CoroutineScope): List<ReactNativeModuleBase>
fun List<ReactNativeModuleProvider>.getModules(lifecycleScope: CoroutineScope): List<RCTBridgeModuleProtocol>
Link copied to clipboard
inline fun <T> Promise.launch(scope: CoroutineScope, crossinline action: suspend () -> T)
inline fun <T> PromiseIOS<T>.launch(scope: CoroutineScope, crossinline block: suspend () -> T)
Link copied to clipboard
inline fun <T> Promise.runCatching(action: () -> T)
Link copied to clipboard
fun <T> T.toArguments(): Any?
Link copied to clipboard
inline suspend fun <T> Flow<T>.toReact(previous: String?): String

Properties

Link copied to clipboard
val flowToReactJson: Json