Hemi JavaScript Framework

Hemi.worker

Description

The worker is a managed wrapper for the HTML 5 DOM Worker. Hemi Worker implements the Hemi Module service to inject the target worker script with the Module API, add a lightweight Psuedo Worker API for browsers that don't support Worker, and add a bootstrap to browsers that do support Worker so the Worker runs in the Hemi framework.

Class Index

static Hemi.worker.service

version 3.1.9

Static implementation of the hemi.worker.serviceImpl class.

Hemi.worker.serviceImpl

version 3.1.9

The worker service provides a wrapper for adding the Hemi Module API to Worker scripts, and adding a lightweight wrapper for browsers that don't support Workers.

Index

Object Index

Method Index

Objects

PsuedoWorker

A lightweight Worker implementation. Includes all FrameworkObject members.

Methods

Methods

NewWorker

Creates a new Worker or PsuedoWorker object, depending on browser support.

Syntax

vWorker = NewWorker( sPath, oContainer )

Parameters

Returns

vWorker as Worker: A Worker or PsuedoWorker object..