lock_lock_try
Attempt a non-blocking lock on a named resource. Returns immediately with acquisition status or current holder. Accepts optional owner identifier and time-to-live.
Instructions
[lock] Non-blocking lock attempt. Returns immediately with {acquired, held_by?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| owner | No | ||
| ttl_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |