-
Romain Courteaud authored
Example: rJS(window).declareMethod('getFoo', function () {}, {mutex: 'foo'}) It will prevent 2 concurrent execution of the getFoo calls. The same mutex can be used by other methods if the same name 'foo' is used.
0b307c54
Example: rJS(window).declareMethod('getFoo', function () {}, {mutex: 'foo'}) It will prevent 2 concurrent execution of the getFoo calls. The same mutex can be used by other methods if the same name 'foo' is used.