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

Function DefaultProps

pkg/actor/types.go:178–185  ·  view source on GitHub ↗

DefaultProps 默认属性

(name string)

Source from the content-addressed store, hash-verified

176
177// DefaultProps 默认属性
178func DefaultProps(name string) *Props {
179 return &Props{
180 Name: name,
181 MailboxSize: 100,
182 Dispatcher: DispatcherDefault,
183 SupervisorStrategy: nil,
184 }
185}
186
187// DispatcherType 调度器类型
188type DispatcherType int

Callers 2

ReceiveMethod · 0.85
spawnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected