nn::boss::Task::WaitFinish Member Functionnn::Result WaitFinish( void );
None.
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
The task completed and has the TASK_DONE or TASK_ERROR state. |
ResultWaitFinishTaskNotDone |
The task was never instructed to start (it is in the TASK_REGISTERED state), or the task's execution was stopped (it is in the TASK_STOPPED state). Start the task again and wait for it to complete. |
ResultInvalidTaskId |
The task ID pointer is NULL or a zero-length string. |
ResultTaskNotExist |
The specified task ID was not found. Confirm whether it is registered yet. |
ResultIpcNotSessionInitialized |
The session has not been initialized. This result is returned if this function is called before the Initialize function. Always call the Initialize function first thing when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Instructs to wait for task completion.
If the timestamp indicating when the URL was modified is the same as the previous timestamp, the task downloads nothing and fails to complete.
CONFIDENTIAL