function background_process_is_finished in Background Process 6
Same name and namespace in other branches
- 8 background_process.module \background_process_is_finished()
- 7 background_process.module \background_process_is_finished()
Check if the background process has finished
Parameters
$handle: Handle of openend background process
Return value
boolean TRUE if finished, FALSE if not
File
- ./background_process.module, line 655 
Code
function background_process_is_finished($handle) {
  $progress = progress_get_progress($handle);
  return empty($progress) || $progress->end;
}