Async Operations - run async (Section) — SkRedis
Addon: SkRedis · Category: Section · Since: 1.2.0
Syntax
run [redis] asyncDescription
Runs the following code asynchronously on another thread. Useful for long-running operations.
Examples
command /test1:
trigger:
loop all items:
set field "%loop-value%" to "test" in redis hash "testHash"
command /test2:
trigger:
loop all items:
run async:
broadcast value of field "%loop-value%" in redis hash "testHash"