Add transfer_list argument for interfacing with web workers
This commit is contained in:
parent
5ec103706f
commit
1a233caf82
|
@ -55,10 +55,11 @@ Bus.Connector.prototype.unregister = function(name, fn)
|
|||
*
|
||||
* @param {string} name
|
||||
* @param {*=} value
|
||||
* @param {*=} unused_transfer
|
||||
*/
|
||||
Bus.Connector.prototype.send = function(name, value)
|
||||
Bus.Connector.prototype.send = function(name, value, unused_transfer)
|
||||
{
|
||||
dbg_assert(arguments.length === 1 || arguments.length === 2);
|
||||
dbg_assert(arguments.length === 1 || arguments.length === 2 || arguments.length === 3);
|
||||
|
||||
if(!this.pair)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue