State (Daemon property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%daemonState</th><td>A <var>[[DaemonState enumeration|DaemonState]]</var> enumeration variable to receive the value that indicates the current state of the daemon thread associated with the <var class="term>Daemon</var> object.</td></tr>
<tr><th>%daemonState</th><td>A <var>[[Daemon class#The DaemonState enumeration|DaemonState]]</var> enumeration variable to receive the value that indicates the current state of the daemon thread associated with the <var class="term>Daemon</var> object.</td></tr>
<tr><th>daemon</th>
<tr><th>daemon</th>
<td>The <var>Daemon</var> object</td></tr>
<td>The <var>Daemon</var> object whose state is being returned.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<ul>
<li>The [[AsynchronousFinished (Daemon property)|AsynchronousFinished]] method is probably preferrable to the <var>State</var> method for determining whether an asynchronous request has completed.</li>
<li>The <var>[[AsynchronousFinished (Daemon property)|AsynchronousFinished]]</var> method is probably preferable to the <var>State</var> method for determining whether an asynchronous request has completed.</li>
</ul>
</ul>
==See also==
==See also==
{{Template:Daemon:State footer}}
{{Template:Daemon:State footer}}

Latest revision as of 18:46, 16 May 2012

State of daemon thread (Daemon class)

[Introduced in Sirius Mods 8.1]


Syntax

%daemonState = daemon:State

Syntax terms

%daemonStateA DaemonState enumeration variable to receive the value that indicates the current state of the daemon thread associated with the Daemon object.
daemon The Daemon object whose state is being returned.

Usage notes

  • The AsynchronousFinished method is probably preferable to the State method for determining whether an asynchronous request has completed.

See also