Namespace: process

system. process

The system.process library allow you to create and manage asynchronous operations in your applications.

Author:
License:

Classes

Action
This abstract class represents the basic definition implemented in the Action objects.
Batch
Enables you to apply a common Action to a group of Action objects.
BatchTask
Batchs a serie of actions and run it in the same time.
Cache
Enqueue a collection of members definitions (commands) to apply or invoke with the specified target object.
Chain
A chain is a sequence with a finite or infinite number of actions.
Do
A simple command to do something.
FrameTimer
A FrameTimer let you run code on a specified time sequence and use the requestAnimationFrame method.
Lock
Invoked to lock a specific Lockable object.
Task
An abstract class to create a set of complex commands or actions.
TaskGroup
The abstract class to creates collections who group some Action objects in one.
TimeoutPolicy
Defines the policies of the timeout states in your application.
Timer
The Timer objects which let you run code on a specified time sequence.
Unlock
Invoked to unlock a specific Lockable object.

Namespaces

TaskPhase
The enumeration of all phases in the Task objects.

Members


<static> FPMS

The target frames per millisecond used in the system.process.FrameTimer instances.

Methods


isLockable(target)

Indicates if the specific objet is Lockable or contains the lock() / unlock() / isLocked() methods.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Lockable.


isPrioritizable(target)

Indicates if the specific objet implements the Priority interface or contains a priority attribute.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object implements the Priority interface.


isResetable(target)

Indicates if the specific objet is Resetable and contains a reset() method.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Resetable.


isResumable(target)

Indicates if the specific objet is Resumable and contains a resume() method.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Resumable.


isRunnable(target)

Indicates if the specific objet is Runnable and contains a run() method.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Runnable.


isStartable(target)

Indicates if the specific objet is Startable and contains a start() method.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Startable.


isStoppable(target)

Indicates if the specific objet is Stoppable and contains a stop() method.

Parameters:
Name Type Description
target object

The object to evaluate.

Returns:

true if the object is Stoppable.