AS.unlockEvent()
Signature
void unlockEvent(String destinationUri, SimpleEvent event, Object... options)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Unlocks the event associated with a key event value. If unlock operation fails (e.g. due to specified timeout) then an exception is thrown with 'LOCKED (entry_lock_timeout)' message, which must be handled by the caller.
Parameters
Name | Type | Description |
destinationUri | String | AS Destination URI |
event | SimpleEvent | The event to be unlocked |
options | Object | Optional lock wait time in milliseconds |