function recordLostEvent(outcome, category) {
            if (transport.recordLostEvent) {
                transport.recordLostEvent(outcome, category);
            }
        }
Processes an event (either error or message) and sends it to Sentry.

This also adds breadcrumbs and context information to the event. However,
platform specific meta data (such as the User's IP address) must be added
by the SDK implementor.


@param event The event to send to Sentry.
@param hint May contain additional information about the original exception.
@param scope A scope containing event metadata.
@returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.