public static function registerBusQueueingDispatcher(ContainerInterface $container): QueueingDispatcherContract
    {
        return new QueueingDispatcher($container, static function ($connection = null) use ($container) {
            return $container->get(FactoryContract::class)->connection($connection);
        });
    }