Function removeRewardEventListener

  • Returns void

    Description

    Remove registered listenerFn for the RewardEvent. If no listenerFn is passed, it removes all the listeners attached to that event

    Since

    0.1.0

    Example

    function onReceiveNewRewardItemTransfer(rewardItemTransfer){
    console.log(rewardItemTransfer);
    }
    removeRewardEventListener(
    RewardEvent.REWARD_ITEM_TRANSFER_RECEIVED,
    onReceiveNewRewardItemTransfer
    );

Generated using TypeDoc