| seize | R Documentation |
Convenience wrapper around resource$attempt_block(). Reads i and
curtime from the calling environment automatically.
seize(resource, amount = 1L, priority = 1L, ...)
resource |
A |
amount |
Integer. Number of resource units to seize (default |
priority |
Integer. Queue priority for the patient (default |
... |
Not used. Passing |
TRUE if acquired, FALSE if queued, NA if rejected (queue full,
only when max_queue is set on the resource).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.