Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to create and load worker based on provided script

Hierarchy

  • LoadWorker

Index

Constructors

Methods

  • getWorker(workerScriptName: string, workerName: string): any
  • Use to get worker after initializing based on worker name

    example
    this.getWorker(workerScriptName,workerName);
    

    Parameters

    • workerScriptName: string
    • workerName: string

    Returns any

  • initWorker(workerScript: string, name: string): Worker
  • Use to initializing the util worker and will return the method inside the worker

    example
    this.initUtilWorker();
    

    Parameters

    • workerScript: string
    • name: string

    Returns Worker

Generated using TypeDoc