attachConnection method

  1. @Deprecated('Prefer attachConnectionResolver for full context access.')
void attachConnection(
  1. DriverAdapter driver
)
inherited

Legacy helper for manually attaching a driver outside a resolver.

Implementation

@Deprecated('Prefer attachConnectionResolver for full context access.')
void attachConnection(DriverAdapter driver) {
  _resolvers[this] = _DriverOnlyResolver(driver);
}