MCPcopy Create free account
hub / github.com/Cyinx/einx / WorkerPool

Interface WorkerPool

module/worker_pool.go:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10var worker_pools_map sync.Map
11
12type WorkerPool interface {
13 ForEachModule(func(m Module))
14 RegisterRpcHandler(string, RpcHandler)
15 RegisterHandler(ProtoTypeID, MsgHandler)
16 RpcCall(string, ...interface{})
17 Balancer() Module
18 Const(string) Module
19}
20
21type ModuleWorkerPool struct {
22 modules []Module

Callers 3

RegisterRpcHandlerMethod · 0.65
RegisterHandlerMethod · 0.65
RpcCallMethod · 0.65

Implementers 1

ModuleWorkerPoolmodule/worker_pool.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…