Skip to content

Commit

Permalink
Update Busy.md (#3433)
Browse files Browse the repository at this point in the history
- **PR Description**
enqueing -> enqueueing
  • Loading branch information
stefanhaller committed Mar 26, 2024
2 parents e295cce + 57786fb commit 38876ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/Busy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`.

Expand Down

0 comments on commit 38876ba

Please sign in to comment.