#Stopping player listener

1 messages · Page 1 of 1 (latest)

knotty bough
player.on("stateChange", (oldState , newState)=>{
        ...
})

i have this listener on my player and i want it to stop listening after a while how can i do it?