Skip to content

Latest commit

 

History

History
129 lines (93 loc) · 2.91 KB

WorkerMain.md

File metadata and controls

129 lines (93 loc) · 2.91 KB

WorkerMain

Functions

wl(log)

Submit log for Worker.

loadFunction(text, progress, end)

Load function.

progressReport(text, progress, end)

Progress report.

postMapbounds(minX, minY, maxX, maxY)

Post map bounds.

postCycleData(cycle, data)

Post cycle data object.

postBaseData(cycle, data)

Post cycle data object.

postInfo(info)

Post info object.

handleIncomingMassage(e)

handle incoming massage

wl(log)

Submit log for Worker.

Kind: global function

Param Type Description
log string log content

loadFunction(text, progress, end)

Load function.

Kind: global function

Param Type Default Description
text string status content
progress integer percentage of progress
end boolean false is end of progress

progressReport(text, progress, end)

Progress report.

Kind: global function

Param Type Description
text string status content
progress integer percentage of progress
end boolean is end of progress

postMapbounds(minX, minY, maxX, maxY)

Post map bounds.

Kind: global function

Param Type Description
minX number Minimum X
minY number Minimum Y
maxX number Maximum X
maxY number Maximum Y

postCycleData(cycle, data)

Post cycle data object.

Kind: global function

Param Type Description
cycle integer cycle number
data Object data object

postBaseData(cycle, data)

Post cycle data object.

Kind: global function

Param Type Description
cycle integer cycle number
data Object data object

postInfo(info)

Post info object.

Kind: global function

Param Type Description
info Object info object

handleIncomingMassage(e)

handle incoming massage

Kind: global function

Param Type Description
e Object massage object