System.spawn

spawn dynamic actor.

  1. WeakAddress spawn(Fn fn, Args args)
    struct System
    WeakAddress
    spawn
    (
    Fn
    Args...
    )
    (
    Fn fn
    ,
    auto ref Args args
    )
    if (
    is(Parameters!Fn[0] == Actor*) &&
    is(ReturnType!Fn == Actor*)
    )
  2. auto spawn(Fn fn, Args args)

Meta