GogApi


Helpers Module

This module holds everything which isn't an API call but can help with handling them

Functions and values

Function or value Description

withAutoRefresh apiFnc authentication

Full Usage: withAutoRefresh apiFnc authentication

Parameters:
Returns: Async<'a * Authentication>

This helper function is used to extend every API call function and provide auto refresh, if the current authentication token is not valid anymore.

apiFnc : Authentication -> Async<'a>
authentication : Authentication
Returns: Async<'a * Authentication>