• Flushes all pending events in the queue to disk. Use this before applying any realtime updates such as code-push or expo updates. Not yet working on Android

    Parameters

    • Optionaltimeout: number

    Returns Promise<boolean>