The system.process
library allow you to create and manage asynchronous operations in your applications.
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 ofAction
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
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 thelock()
/unlock()
/isLocked()
methods.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isLockable
. -
isPrioritizable(target)
-
Indicates if the specific objet implements the
Priority
interface or contains apriority
attribute.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object implements thePriority
interface. -
isResetable(target)
-
Indicates if the specific objet is
Resetable
and contains areset()
method.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isResetable
. -
isResumable(target)
-
Indicates if the specific objet is
Resumable
and contains aresume()
method.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isResumable
. -
isRunnable(target)
-
Indicates if the specific objet is
Runnable
and contains arun()
method.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isRunnable
. -
isStartable(target)
-
Indicates if the specific objet is
Startable
and contains astart()
method.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isStartable
. -
isStoppable(target)
-
Indicates if the specific objet is
Stoppable
and contains astop()
method.Parameters:
Name Type Description target
object The object to evaluate.
Returns:
true
if the object isStoppable
.