Convenience 'constructor'.
Convenience 'constructor'. Allows very concise syntax: val workers = SimpleWorkers { foo: Foo => // do something with foo... }
Convenience 'constructor'.
Convenience 'constructor'. Allows very concise syntax: val workers = SimpleWorkers(loadFactor, queueDepth) { foo: Foo => // do something with foo... }
Convenience 'constructor'.
Convenience 'constructor'. Allows very concise syntax: val workers = SimpleWorkers(threads, queueLength) { foo: Foo => // do something with foo... }