C# 클래스 clojure.lang.Agent.Action

An encapsulated message.
파일 보기 프로젝트 열기: arohner/clojure-contrib 1 사용 예제들

공개 메소드들

메소드 설명
Action ( Agent agent, IFn fn, ISeq args, bool solo ) : System

Create an encapsulated message to an agent.

execute ( ) : void

Send the message.

비공개 메소드들

메소드 설명
ExecuteAction ( object state ) : void

Worker method to execute the action on a thread.

corresponds to doRun in Java version

메소드 상세

Action() 공개 메소드

Create an encapsulated message to an agent.
public Action ( Agent agent, IFn fn, ISeq args, bool solo ) : System
agent Agent The agent the message is for.
fn IFn The function to compute the new value.
args ISeq Additional arguments (in addition to the current state).
solo bool Execute on its own thread?
리턴 System

execute() 공개 메소드

Send the message.
public execute ( ) : void
리턴 void