We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa562be commit d5a7e1cCopy full SHA for d5a7e1c
dev/signals.js
@@ -176,6 +176,16 @@ var signals = ( function ( global, undefined ) {
176
*/
177
broadcast: function ( signalName, arg ) {
178
takeAction( 'broadcast', signalName, arg );
179
+ },
180
+ /**
181
+ * Return a broadcast function for the given signal.
182
+ * @name signals.proxy
183
+ * @param {string} [signalName] The signal.
184
+ * @return {function} when executed will broadcast for given sigalName.
185
+ * @function
186
+ */
187
+ proxy: function ( signalName ) {
188
+ createProxyFor( signalName );
189
},
190
/**
191
* Remove a listener from the given signal.
0 commit comments