Implemented Do()
Oops
This commit is contained in:
parent
292669a43f
commit
1526772a05
2
tomo.go
2
tomo.go
@ -160,7 +160,7 @@ func Stop () {
|
|||||||
// Do executes the specified callback within the main thread as soon as
|
// Do executes the specified callback within the main thread as soon as
|
||||||
// possible. This function can be safely called from other threads.
|
// possible. This function can be safely called from other threads.
|
||||||
func Do (callback func ()) {
|
func Do (callback func ()) {
|
||||||
|
backend.Do(callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewWindow creates a new window using the current backend, and returns it as a
|
// NewWindow creates a new window using the current backend, and returns it as a
|
||||||
|
Reference in New Issue
Block a user