Class: OnceAfterAll

at.pkgs. OnceAfterAll

個別処理結果待ち合わせクラス.

複数の個別処理の全数完了後に1回だけ処理を実行する.

チュートリアル: at.pkgs.OnceAfterAll

new OnceAfterAll(instance)

Parameters:
Name Type Argument Description
instance at.pkgs.OnceAfterAll <optional>

インスタンス.

Since:
  • 0.1.6
Source:

Extends

Members

binder :at.pkgs.EventBinder

処理完了イベントバインダ.

実行済みの場合はnull.

Type:
Since:
  • 0.1.6
Source:

jobs :Number

実行中の個別処理の数.

Type:
  • Number
Since:
  • 0.1.6
Source:

<readonly> parent :Object

親クラスのプロトタイプへの参照.

Type:
  • Object
Since:
  • 0.1.3
Inherited From:
Source:

<readonly> self :Function

コンストラクタへの参照.

Type:
  • Function
Since:
  • 0.1.0
Inherited From:
Source:

succeed :Function

処理結果フラグ.

失敗を報告した個別処理が一つでもあればfalse.

Type:
  • Function
Since:
  • 0.1.6
Source:

Methods

bind(operation)

完了後の処理を追加する.

Parameters:
Name Type Description
operation at.pkgs.OnceAfterAll~Operation

完了後に実行する処理.

Since:
  • 0.1.6
Source:

enter()

個別処理結果の開始を通知する.

Since:
  • 0.1.6
Source:

immediate() → {Boolean}

指定された名称のプロパティを直接持つか取得する.

Parameters:
Name Type Description
プロパティ名. String
Since:
  • 0.1.5
Inherited From:
Source:
Returns:

持つならばtrue.

Type
Boolean

leave(succeed)

個別処理結果の完了を通知する.

Parameters:
Name Type Argument Description
succeed Boolean <optional>

falseを指定すると処理失敗となる.

Since:
  • 0.1.6
Source:

Type Definitions

Operation()

個別処理結果待ち合わせクラスで完了後に実行する処理.

Parameters:
Name Type Description
処理結果フラグ. Boolean
Since:
  • 0.1.6
Source:
Copyright (c) 2009-2014, Architector Inc., Japan.
Documentation generated by JSDoc 3.2.0 on Tue Aug 26 2014 22:27:18 GMT+0900 (JST) using the DocStrap template.