LUA Verb Postings

LUA verbs complete synchronously or asynchronously. Synchronous verb completion means that when the RUI returns to the LUA application program after a call to LUA, all processing for that verb is finished and the asynchronous posting method is not used. Because of timing conditions, a verb can complete asynchronously, but all processing is completed by the time LUA returns to the LUA application program. Asynchronous verb completion means that LUA uses the posting method to notify the application program when processing completes, either successfully or unsuccessfully.

An LUA application program can be notified in one of the following ways when a verb completes asynchronously:
  • The LUA application program uses the lua_flag2_async and lua_prim_rc parameters to determine the verb processing state.
  • The application specifies an event in the lua_post_handle parameter. This is set when the verb is complete.