Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

asiRegCallBackOnSimCompForDist

asiRegCallBackOnSimCompForDist( 
o_session 
t_callback 
) 
=> t / nil

Description

Registers the specified user-defined callback function to run after completion of distributed jobs.

Arguments

o_session

The OASIS session object.

t_callback

Name of the callback function to be registered.

Value Returned

t

Returns t when the callback function is registered successfully.

nil

There is an error.

Examples

The following example registers the myDistributedCallbackFunc function to run after all the distributed jobs are completed:

session = asiGetCurrentSession()
procedure(myDistributedCallbackFunc(session status)
  printf("Session:%L \n Status:%L \n " session status)
)
asiRegCallBackOnSimCompForDist(session 'myDistributedCallbackFunc)

=> t

Return to top
 ⠀
X