pollCall method

CallState pollCall(
  1. String commandId
)

Poll the resolution state of commandId.

Implementation

CallState pollCall(String commandId) {
  if (projection.hasConflict(commandId)) return const CallStateConflict();
  final entry = projection.terminalFor(commandId);
  if (entry != null) return CallStateResolved(entry);
  return const CallStatePending();
}