MCPcopy
hub / github.com/buildbot/buildbot / buildbotSetupPlugin

Function buildbotSetupPlugin

www/plugin_support/src/index.ts:71–76  ·  view source on GitHub ↗
(callback: PluginRegistrationCallback)

Source from the content-addressed store, hash-verified

69const pluginRegistrationConsumers: ((callback: PluginRegistrationCallback) => void)[] = [];
70
71export function buildbotSetupPlugin(callback: PluginRegistrationCallback) {
72 pluginRegistrationCallbacks.push(callback);
73 for (const consumer of pluginRegistrationConsumers) {
74 consumer(callback);
75 }
76}
77
78// Not intended to be used by plugins themselves
79export function registerPluginRegistrationConsumer(

Callers 15

GridView.tsxFile · 0.85
ConsoleView.tsxFile · 0.85
BuildsTable.tsxFile · 0.85
LogPreview.tsxFile · 0.85
WorkersView.tsxFile · 0.85
ProjectView.tsxFile · 0.85
ChangesView.tsxFile · 0.85
BuildView.tsxFile · 0.85
AboutView.tsxFile · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected