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

Method Tell

pkg/actor/types.go:43–47  ·  view source on GitHub ↗

Tell 发送消息(fire-and-forget)

(msg Message)

Source from the content-addressed store, hash-verified

41
42// Tell 发送消息(fire-and-forget)
43func (p *PID) Tell(msg Message) {
44 if p.system != nil {
45 p.system.Send(p, msg)
46 }
47}
48
49// Request 发送请求并等待响应(同步调用)
50func (p *PID) Request(msg Message, timeout time.Duration) (Message, error) {

Callers 15

TestPID_TellFunction · 0.80
TestActorFuncFunction · 0.80
AgentActorTellFunction · 0.80
AgentActorChatFunction · 0.80
AgentActorCallToolFunction · 0.80
AgentActorGetStatusFunction · 0.80
ExecuteWithActorsMethod · 0.80
TestPipelineMethod · 0.80
TestBroadcastMethod · 0.80

Calls 1

SendMethod · 0.45

Tested by 8

TestPID_TellFunction · 0.64
TestActorFuncFunction · 0.64
TestPipelineMethod · 0.64
TestBroadcastMethod · 0.64
BenchmarkActorTellFunction · 0.64
BenchmarkActorConcurrentFunction · 0.64
TestActorHighThroughputFunction · 0.64