Skip to content

Instantly share code, notes, and snippets.

@nsdevaraj
Created May 12, 2010 12:18
Show Gist options
  • Save nsdevaraj/398511 to your computer and use it in GitHub Desktop.
Save nsdevaraj/398511 to your computer and use it in GitHub Desktop.
[Inject]
public var delegate:AbstractResult;
public function invoke(action:String):void{
remoteService.destination = destination;
}
public function create( vo:IValueObject ):AsyncToken {
invoke(Action.CREATE);
delegate.token = remoteService.create(vo);
return delegate.token;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment