public Mono<Integer> resumePlugins(Set<String> ids) {
        List<Plugin> plugins = pluginRepository.getPlugins(ids);
        List<Mono<Void>> resumeMonos = new ArrayList<>(plugins.size());
        for (Plugin plugin : plugins) {
            resumeMonos.add(plugin.resume());
        }
        return Mono.whenDelayError(resumeMonos)
                .onErrorResume(t -> Mono
                        .error(new RuntimeException("Caught errors while resuming plugins", t)))
                .thenReturn(plugins.size());
    }
@implNote Start plugins after all beans are ready so that plugins can get any bean when
          starting.
turms-server-common/src/main/java/im/turms/server/common/infra/plugin/PluginManager.java