<commit_before>import Signal from 'signals';

export default {
  redraw: new Signal(),
  seekCanceled: new Signal()
};<commit_msg>Add comments to signals<commit_after>import Signal from 'signals';

export default {
  // global screen redraw mechanism; it works the same way as m.redraw() works
  // except it is always async and debounced within an animation frame
  redraw: new Signal(),

  // dispatched when a user cancels a seek; we need this to close the lobby
  // socket that is used to seek a game, and recreate the previous socket
  // connection whatever it was
  // this is a workaround because we currently only one socket can be opened at
  // a time
  seekCanceled: new Signal()
};
{'fraction_non_alphanumeric': 0.07482014388489208, 'fraction_numerical': 0.0, 'mean_word_length': 3.7346938775510203, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7525605', 'n_tokens_mistral': 195, 'n_tokens_neox': 184, 'n_words': 97}