Function addSdkEventListener

  • Type Parameters

    • _Event extends INITIALISED

    • ListenerFn extends ((userProfile) => void)

    Parameters

    • sdkEvent: _Event
    • listenerFn: ListenerFn

    Returns void

    Description

    Add listener for a given SdkEvent

    Since

    0.1.0

    Example

    addSdkEventListener(SdkEvent.INITIALISED, function onSdkInitialisation(userProfile){
    console.log(userProfile);
    })

Generated using TypeDoc