isReadySync<T extends Object> method

bool isReadySync<T extends Object>({
  1. Object? instance,
  2. String? instanceName,
})

Checks if an async Singleton defined by an instance, a type T or an instanceName is ready without waiting

Implementation

bool isReadySync<T extends Object>(
        {Object? instance, String? instanceName}) =>
    locator.isReadySync<T>(
      instance: instance,
      instanceName: instanceName,
    );