Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = &starlarkstruct.Module{ Name: "thread", Members: starlark.StringDict{ "sleep": starlark.NewBuiltin("thread.sleep", sleep), "cancel": starlark.NewBuiltin("thread.cancel", cancel), "defer": starlark.NewBuiltin("thread.defer", deferFunc), "name": starlark.NewBuiltin("thread.name", name), }, }
Module thread is a Starlark module of thread-related functions and constants. The module defines the following functions:
sleep(millis) - Sleeps the current thread for the given number of milliseconds
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.