MCPcopy Create free account
hub / github.com/astercloud/aster / SpawnWithProps

Method SpawnWithProps

pkg/actor/system.go:186–188  ·  view source on GitHub ↗

SpawnWithProps 使用属性创建 Actor

(actor Actor, props *Props)

Source from the content-addressed store, hash-verified

184
185// SpawnWithProps 使用属性创建 Actor
186func (s *System) SpawnWithProps(actor Actor, props *Props) *PID {
187 return s.spawnWithProps(actor, props, nil)
188}
189
190// spawn 内部创建方法
191func (s *System) spawn(actor Actor, name string, parent *PID) *PID {

Callers

nothing calls this directly

Calls 1

spawnWithPropsMethod · 0.95

Tested by

no test coverage detected