Documentation ¶
Overview ¶
This package used for locking goroutines to the main OS thread. See: https://github.com/golang/go/wiki/LockOSThread
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MainMaybe ¶
func MainMaybe(f func())
MainMaybe calls a function on the main thread. Enabled for macOS only.
func MainWrapMaybe ¶
func MainWrapMaybe(f func())
MainWrapMaybe enables functions to be executed in the main thread. Enabled for macOS only.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.