getState method

Future<QueueState> getState(
  1. String processId
)

Returns the current state for processId.

Implementation

Future<QueueState> getState(String processId) async {
  final task = await getTask(processId);

  return task.state;
}