public dispatch ( IFn fn, ISeq args, System.Boolean solo ) : object | ||
fn | IFn | The function to be called on the current state and the supplied arguments. |
args | ISeq | The extra arguments to the function. |
solo | System.Boolean | |
return | object |
public object dispatch(IFn fn, ISeq args, Boolean solo)
{
if ( _errors != null )
throw new Exception("Agent has errors", (Exception)RT.first(_errors));
Action action = new Action(this,fn,args,solo);
DispatchAction(action);
return this;
}