Skip to content

@modoki/engine / index / onPlayStateChange

Function: onPlayStateChange()

onPlayStateChange(fn): () => void

Subscribe to legacy play-state transitions (fires only when the derived PlayState changes).

Parameters

fn

() => void

Returns

() => void

Built with Modoki.