You are here

function background_process_is_started in Background Process 6

Same name and namespace in other branches
  1. 8 background_process.module \background_process_is_started()
  2. 7 background_process.module \background_process_is_started()

Check if the background process has started

Parameters

$handle: Handle of openend background process

Return value

boolean TRUE if started, FALSE if not

File

./background_process.module, line 642

Code

function background_process_is_started($handle) {
  $progress = progress_get_progress($handle);
  return !empty($progress);
}