MCPcopy Create free account
hub / github.com/Monibuca/engine / Stop

Method Stop

io.go:117–119  ·  view source on GitHub ↗

Stop 停止订阅或者发布,由订阅者或者发布者调用

(reason ...zapcore.Field)

Source from the content-addressed store, hash-verified

115
116// Stop 停止订阅或者发布,由订阅者或者发布者调用
117func (io *IO) Stop(reason ...zapcore.Field) {
118 io.close(StopError(reason))
119}
120
121type StopError []zapcore.Field
122

Callers

nothing calls this directly

Calls 2

closeMethod · 0.95
StopErrorTypeAlias · 0.85

Tested by

no test coverage detected