hasPendingJobs property

bool get hasPendingJobs

True if QuickJS has at least one pending job (Promise reactions, etc.).

Implementation

bool get hasPendingJobs {
  final rt = _rt;
  if (rt == null || _disposed) return false;
  return jsIsJobPending(rt) != 0;
}