Class: WorkerProgress
Represents a progress indicator
Constructors
new WorkerProgress(uid, total, groups, title)
new WorkerProgress(
uid
,total
,groups
,title
?):WorkerProgress
Parameters
• uid: string
• total: number
• groups: string
[]
• title?: string
Returns
Source
Properties
current
current:
number
=0
Source
groups
groups:
string
[] =[]
Source
running
running:
boolean
=true
Source
title
title:
string
Source
total
total:
number
Source
uid
uid:
string
Source
Methods
getRatio()
getRatio():
number
Returns
number
Source
incrementProgress()
incrementProgress(
inc
):void
Parameters
• inc: number
Returns
void
Source
updateProgress()
updateProgress(
current
):void
Parameters
• current: number
Returns
void