Update Busy.md

enqueing -> enqueueing
This commit is contained in:
Ikko Eltociear Ashimine 2024-03-26 00:59:45 +09:00 committed by Stefan Haller
parent e295ccefab
commit 57786fbb1f

View file

@ -57,7 +57,7 @@ go utils.Safe(f)
Where `utils.Safe` is a helper function that ensures we clean up the gui if the goroutine panics.
### Programmatically enqueing a UI event
### Programmatically enqueueing a UI event
This is invoked with `self.c.OnUIThread(f)`. Internally, it creates a task before enqueuing the function as an event (including the task in the event struct) and once that event is processed by the event queue (and any other pending events are processed) the task is removed from the map by calling `task.Done()`.