src/promissory-arbiter.js
function resubscribe (state, tokens) {
    tokens = typeof tokens === 'string' ? tokens.split(/,\s*/) : tokens;
    tokens = !tokens.length ? [tokens] : tokens;

    var result = curryMap(state._topics, unsuspendSubscriber, tokens);

    return result.length === 1 ? result[0] : result;
  }
function resubscribe (state, tokens) {
    tokens = typeof tokens === 'string' ? tokens.split(/,\s*/) : tokens;
    tokens = !tokens.length ? [tokens] : tokens;

    var result = curryMap(state._topics, unsuspendSubscriber, tokens);

    return result.length === 1 ? result[0] : result;
  }
function resubscribe ( state , tokens ) { tokens = typeof tokens === 'string' ? tokens . split ( / ,\s* / ) : tokens ; tokens = ! tokens . length ? [ tokens ] : tokens ; var result = curryMap ( state . _topics , unsuspendSubscriber , tokens ) ; return result . length === 1 ? result [ 0 ] : result ; }
Reactivates all subscriptions associated with a token or all
subscriptions that are descendants of a topic.

@function resubscribe
@memberof Arbiter

@param {Token|Topic} token The token or topic to reactivates
@return {Boolean} Returns false if the token's subscription cannot be
located and true otherwise. This returns an array if multiple tokens
or topics used.

@example

Arbiter.subscribe('a, b, c', function() {}); // Create 3 listeners
Arbiter.unsubscribe('', true); // Suspends all listeners
Arbiter.resubscribe(''); // Resumes all listeners
Reactivates all subscriptions associated with a token or all subscriptions that are descendants of a topic .