State (Daemon property): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (→Usage notes) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Daemon:State subtitle}} | {{Template:Daemon:State subtitle}} | ||
==Syntax== | ==Syntax== | ||
{{Template:Daemon:State syntax}} | {{Template:Daemon:State syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%daemonState</th><td><var>DaemonState</var> value</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>Daemon object</td></tr> | <td>The <var>Daemon</var> object whose state is being returned.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<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> | |||
==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
%daemonState | A 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.