module Opal::Async

Defined in:

opal/async/worker.cr

Class Method Summary

Class Method Detail

def self.run_worker(name : String = "worker", &block : Worker -> String | Int32 | Int64 | Float64 | Bool | Nil) : Worker #

Factory helper to spawn and start a worker


[View source]