S9SourceNine Labs / CMAPI Docs 1.0
CMAPI / API reference

IScheduledAction

Represents work queued through IModScheduler .

View source ↗
CMAPI 1.0.0Standalone runtimeWindows x64Tested with Planet Crafter 2.008
Namespace CMAPIInterfaceAssembly CMAPI.API.dll
public interface IScheduledAction

Represents work queued through IModScheduler.

Members

IsPending

property
bool IsPending

Gets whether the action is still waiting to run.

IsCompleted

property
bool IsCompleted

Gets whether the action finished running.

IsCancelled

property
bool IsCancelled

Gets whether the action was cancelled before it ran.

Cancel

method
void Cancel()

Cancels the action if it has not started.