Documentation ¶
Overview ¶
Package d2thread is a package graciously taken from https://github.com/faiface/mainthread
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call(f func())
Call queues function f on the main thread and blocks until the function f finishes.
func CallNonBlock ¶
func CallNonBlock(f func())
CallNonBlock queues function f on the main thread and returns immediately. Does not wait until f finishes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.