Home Reference Source
import {WorkerEvent} from 'rabbit-hole'
public class | source

WorkerEvent

Extends:

Event → WorkerEvent

A worker event.

Constructor Summary

Public Constructor
public

Constructs a new worker event.

Member Summary

Public Members
public

response: Response

A worker response.

public

worker: Worker

A worker.

Inherited Summary

From class Event
public

target: EventTarget

A reference to the target to which the event was originally dispatched.

public

The name of the event.

Public Constructors

public constructor(type: String) source

Constructs a new worker event.

Override:

Event#constructor

Params:

NameTypeAttributeDescription
type String

The name of the event.

Public Members

public response: Response source

A worker response.

public worker: Worker source

A worker.