Packageorg.spicefactory.parsley.core.builder
Interfacepublic interface AsyncInitBuilder
Implementors DefaultAsyncInitBuilder

Builder for asynchronous object initialization.



Public Methods
 MethodDefined By
  
The event type that signals that object initialization has successfully completed.
AsyncInitBuilder
  
The event type that signals that object initialization has failed.
AsyncInitBuilder
Method Detail
completeEvent()method
public function completeEvent(type:String):AsyncInitBuilder

The event type that signals that object initialization has successfully completed. The default is Event.COMPLETE.

Parameters

type:String — the event type that signals that object initialization has successfully completed

Returns
AsyncInitBuilder — this builder for method chaining
errorEvent()method 
public function errorEvent(type:String):AsyncInitBuilder

The event type that signals that object initialization has failed. The default is Event.COMPLETE.

Parameters

type:String — the event type that signals that object initialization has failed

Returns
AsyncInitBuilder — this builder for method chaining