# Functions
Block marks the current task as blocked.
Do is a convenience function for calling block between Start() and Finish().
Event causes an event to be recorded.
Finish marks the task started with Start() as finished.
GetTask retrieves the task from a context previously annotated by PutTask.
MemorySnapshot returns the memory statistics sampled from the last call to SnapshotMemory().
PutTask attaches a task to a Context.
RegisterListener registers l for status updates.
RegisterLogger registers a status listener that logs the updates to the logger bound to the context.
RegisterTracer registers a status listener that writes all status updates in the Chrome Trace Event Format to the writer w.
ReplayQueued notifies listeners that a new replay has been queued.
SnapshotMemory takes a snapshot of the current process's memory.
Start returns a new context for a long running task.
StartBackground returns a new context for a long running background task.
Tasks returns the currently running tasks.
Block marks the current task as blocked.
UpdateProgress updates the progress of the task started with Start().
# Constants
GlobalScope is an event that applies globally.
ProcessScope is an event that only applies to this process.
TaskScope is an event that applies to the current task.
# Interfaces
Listener is the interface implemented by types that want to listen to application status messages.
# Type aliases
EventScope defines the scope for a particular event.
Unregister is the function returned by RegisterListener and is used to unregister the listenenr.