Prajna


WorkerRoleInstance<'StartParamType>

WorkerRoleInstance can be extended to run a Prajna worker service. Unlike WorkerRoleEntryPoint, WorkerRoleInstance is to be instantiated at the remote end so it is class member is not serialized.

Constructors

ConstructorDescription
new()
Signature: unit -> WorkerRoleInstance<'StartParamType>

Instance members

Instance memberDescription
OnStart(arg1)
Signature: 'StartParamType -> bool
Modifiers: abstract

bool OnStart(): Run once when the service started for all thread, it will be runned in each thread.

Fork me on GitHub