UiDispatcher.drain

Remove and return all queued commands. Call on the UI thread.

struct UiDispatcher(T)
T[]
drain
()

Meta