Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ Shutdown
Method
Shutdown
pkg/actor/system.go:378–380 ·
view source on GitHub ↗
Shutdown 关闭整个 Actor 系统
()
Source
from the content-addressed store, hash-verified
376
377
// Shutdown 关闭整个 Actor 系统
378
func
(s *System) Shutdown() {
379
s.ShutdownWithTimeout(30 * time.Second)
380
}
381
382
// ShutdownWithTimeout 带超时的关闭
383
func
(s *System) ShutdownWithTimeout(timeout time.Duration) {
Callers
15
TestServer_GetAgentCard
Function · 0.95
TestServer_GetAgentCard_NotFound
Function · 0.95
TestServer_HandleRequest_MessageSend
Function · 0.95
TestServer_HandleRequest_TasksGet
Function · 0.95
TestServer_HandleRequest_TasksCancel
Function · 0.95
TestServer_HandleRequest_InvalidMethod
Function · 0.95
TestServer_HandleRequest_InvalidParams
Function · 0.95
TestSystem_SpawnAndSend
Function · 0.95
TestSystem_RequestResponse
Function · 0.95
TestSystem_ParentChild
Function · 0.95
TestSystem_Stop
Function · 0.95
TestSystem_Stats
Function · 0.95
Calls
1
ShutdownWithTimeout
Method · 0.95
Tested by
15
TestServer_GetAgentCard
Function · 0.76
TestServer_GetAgentCard_NotFound
Function · 0.76
TestServer_HandleRequest_MessageSend
Function · 0.76
TestServer_HandleRequest_TasksGet
Function · 0.76
TestServer_HandleRequest_TasksCancel
Function · 0.76
TestServer_HandleRequest_InvalidMethod
Function · 0.76
TestServer_HandleRequest_InvalidParams
Function · 0.76
TestSystem_SpawnAndSend
Function · 0.76
TestSystem_RequestResponse
Function · 0.76
TestSystem_ParentChild
Function · 0.76
TestSystem_Stop
Function · 0.76
TestSystem_Stats
Function · 0.76