Links
Comment on page

Async Announcements

The first case involves where you want to completely detach an interception call into the background. You will accomplish this by using the async=true argument. This will then detach the execution of the interception into a separate thread and return to you a structure containing information about the thread it created for you. This is a great way to send work jobs, emails, processing and more to the background instead of having the calling thread wait for execution.
threadData = announce(
state = "onPageCreate",
data = { page= local.page },
asyncAll = true
);

Configuration Arguments

You can also combine this call with the following arguments:
  • asyncPriority : The priority level of the detached thread. By default it uses normal priority level.
threadData = announce(
state = "onPageCreate",
data = { page= local.page },
asyncAll = true,
asyncPriority = "high"
);