Library entry

This is exported from the core library, which means you don't need to import it.

Functions

__entry__main task/any -> none

__entry__spawn task/any -> none

__entry__task lambda/any -> none

Returns the name of the toit file, image, or snapshot that the current program was run from. May return null if this information is not available.
Deprecated. Use system.program-name instead.