Options
All
  • Public
  • Public/Protected
  • All
Menu

Class _Worker

Hierarchy

  • _Worker

Index

Constructors

constructor

  • new _Worker(name: string): _Worker

Properties

blobUrl

blobUrl: string

name

name: string

onerrorDict

onerrorDict: {}

Type declaration

  • [k: number]: Function | undefined

onmessageDict

onmessageDict: {}

Type declaration

  • [k: number]: Function | undefined

pending

pending: number = 0

postCount

postCount: number = 0

worker

worker: Worker

Methods

post

  • post(aMessage?: any, transferList?: any, onmessage?: Function, onerror?: Function): this
  • Parameters

    • Default value aMessage: any = {}
    • Optional transferList: any
    • Optional onmessage: Function
    • Optional onerror: Function

    Returns this

terminate

  • terminate(): void

Generated using TypeDoc