_IAPIEvents::onRun

method onRun.

This callback function will be called to submit a task/job for the client code.

 

long onRun(
  long task_local_storage
);

Parameters

task_local_storage

[in] . A user-defined value which is associated with the current task.

Return Values

0        The task is now terminated

1        The task will be later executed again.

See Also

_IAPIEvents