OfflineCallback: ((onlineState: IOfflineState) => void)

this is the callback that will be called when the network status changes

Type declaration

    • (onlineState): void
    • Parameters

      • onlineState: IOfflineState

        this is the current network running state

      Returns void