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

Method HandleFailure

pkg/actor/supervisor.go:52–52  ·  view source on GitHub ↗

HandleFailure 处理 Actor 失败 返回应该采取的指令,可以是 Directive 或 DirectiveWithDelay

(system *System, child *PID, msg Message, err any)

Source from the content-addressed store, hash-verified

50 // HandleFailure 处理 Actor 失败
51 // 返回应该采取的指令,可以是 Directive 或 DirectiveWithDelay
52 HandleFailure(system *System, child *PID, msg Message, err any) any
53}
54
55// ============== 内置监督策略 ==============

Callers 2

HandleFailureMethod · 0.65
handleFailureMethod · 0.65

Implementers 4

OneForOneStrategypkg/actor/supervisor.go
AllForOneStrategypkg/actor/supervisor.go
ExponentialBackoffStrategypkg/actor/supervisor.go
CompositeStrategypkg/actor/supervisor.go

Calls

no outgoing calls

Tested by

no test coverage detected