All files Request.js

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                    71x 71x 71x      
// @flow
import { observable } from 'mobx'
import type { Label } from './types'
 
export default class Request {
  label: Label
  abort: () => void
  @observable progress: number = 0
 
  constructor (label: Label, abort: () => void, progress: number) {
    this.label = label
    this.abort = abort
    this.progress = progress
  }
}