generate web-worker
Command
ng generate web-worker
Creates a new, generic web worker definition in the given project.
Arguments
name
The name of the worker.
Value Type
string
Options
project
The name of the project.
Value Type
string
snippet
Add a worker creation snippet in a sibling file of the same name.
Value Type
boolean
Defaulttrue
Jump to details