Function createEventBridge

  • Creates an event bridge that transports events from and to Android through the connection.

    Exponentially increases delay between connectionProvider calls if undefined is returned.

    Parameters

    • connectionProvider: (() => undefined | Connection) = ...

      The provider that returns the connection. By default, the provider of window.racehorseConnection is used.

    Returns EventBridge