Clapper.Reactable.queue_clear_sync

### Method

# Clapper Reactablequeue_clear_sync

since: 0.10

#### Declaration [src]

    void
    clapper_reactable_queue_clear_sync (
      ClapperReactable* reactable
    )

#### Description [src]

A convenience function that within application main thread synchronously clears the playback queue of the player that `reactable` belongs to.

Reactable enhancers should only modify the queue from the application main thread, switching thread either themselves or using this convenience function that does so.

Note that this function will do no operation if called when there is no player set yet (e.g. inside enhancer construction) or if enhancer outlived the parent instance somehow. Both cases are considered to be implementation bug.

Available since: 0.10