register method

  1. @override
void register(
  1. ContainerInterface container
)
override

Called when the provider is registered in the container.

Implementation

@override
void register(ContainerInterface container) {
  container.lazySingleton<QueueManager>(
    (c) => QueueManager(c.resolve<ConfigInterface>()),
  );
}