MCPcopy Index your code
hub / github.com/getsentry/sentry-react-native / emit

Method emit

packages/core/src/js/client.ts:220–223  ·  view source on GitHub ↗

* Emit a hook that was previously registered via `on()`. * * (Generic method signature to allow for custom React Native Client events.)

(hook: string, ...rest: unknown[])

Source from the content-addressed store, hash-verified

218 * (Generic method signature to allow for custom React Native Client events.)
219 */
220 public emit(hook: string, ...rest: unknown[]): void {
221 // @ts-expect-error emit from the base class doesn't support generic types
222 super.emit(hook, ...rest);
223 }
224
225 /**
226 * Starts native client with dsn and options

Callers 10

sendEnvelopeMethod · 0.95
_initNativeSdkMethod · 0.95
forwardToJSMethod · 0.80
startShakeDetectionMethod · 0.80
client.test.tsFile · 0.80
setupTestClientFunction · 0.80
appStart.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected