terminate method
void
terminate()
@AvailableInWorkers("window_and_worker_except_service")
The terminate()
method of the Worker interface immediately
terminates the Worker. This does not offer the worker an opportunity to
finish its operations; it is stopped at once.
Implementation
external void terminate();