Edit in GitHubLog an issue

IdleTasks

All attachable idle tasks.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

IdleTask add( Object withProperties )

Creates a new IdleTask.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new IdleTask (Optional)

Number count()

Displays the number of elements in the IdleTask.


IdleTask item( Mixed index )

Returns the IdleTask with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

IdleTask itemByName( String name )

Returns the IdleTask with the specified name.

Parameters

TypeNameDescription
String
name
The name.

IdleTask itemByID( Number id )

Returns the IdleTask with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

IdleTask itemByRange( Mixed from, Mixed to )

Returns the IdleTasks within the specified range.

Parameters

TypeNameDescription
Mixed
from
The IdleTask, index, or name at the beginning of the range. Can accept: IdleTask, Long Integer or String.
Mixed
to
The IdleTask, index, or name at the end of the range. Can accept: IdleTask, Long Integer or String.

IdleTask firstItem()

Returns the first IdleTask in the collection.


IdleTask lastItem()

Returns the last IdleTask in the collection.


IdleTask middleItem()

Returns the middle IdleTask in the collection.


IdleTask previousItem( IdleTask obj )

Returns the IdleTask with the index previous to the specified index.

Parameters

TypeNameDescription
IdleTask
obj
The index of the IdleTask that follows the desired IdleTask.

IdleTask nextItem( IdleTask obj )

Returns the IdleTask whose index follows the specified IdleTask in the collection.

Parameters

TypeNameDescription
IdleTask
obj
The IdleTask whose index comes before the desired IdleTask.

IdleTask anyItem()

Returns any IdleTask in the collection.


IdleTask everyItem()

Returns every IdleTask in the collection.


String toSource()

Generates a string which, if executed, will return the IdleTask.


IdleTask []( Number index )

Returns the IdleTask with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.