Type Property 型プロパティ

current

Returns the operation queue that launched the current operation. 現在のオペレーションを開始したオペレーションキューを返します。

Declaration 宣言

class var current: OperationQueue? { get }

Return Value 戻り値

The operation queue that started the operation or nil if the queue could not be determined. オペレーションを開始したオペレーションキューまたは、キューが決定されることができなかったならばnil

Discussion 議論

You can use this method from within a running operation object to get a reference to the operation queue that started it. Calling this method from outside the context of a running operation typically results in nil being returned. あなたは、このメソッドを動作中のオペレーションオブジェクト内から使用して、それを開始したオペレーションキューに対する参照を得ることができます。このメソッドを実行中オペレーションの環境の外側から呼び出すことは、概してnilが返されるという結果になります。

See Also 参照

Accessing Specific Operation Queues 特定のオペレーションキューにアクセスする

Related Documentation 関連文書