<gh_stars>10-100
import Bluebird from 'bluebird'

export default class Signal {
  constructor () {
    const self = this

    this.promise = new Bluebird((resolve) => {
      self.triggerFn = resolve
    })
  }

  trigger () {
    this.triggerFn()
  }
}

