mutate

inline suspend fun mutate(crossinline block: suspend (MutableList<T>) -> Unit): Job(source)

Inside the given block, you can mutate this list. All guis currently using this list will be informed after that mutation, to update properly.

This functions suspends until the mutation is complete.

Return

the job which updates the gui