(ctx context.Context, handler *RpcResponseHandler)
| 71 | } |
| 72 | |
| 73 | func withRespHandler(ctx context.Context, handler *RpcResponseHandler) context.Context { |
| 74 | return context.WithValue(ctx, wshRpcRespHandlerContextKey{}, handler) |
| 75 | } |
| 76 | |
| 77 | func GetWshRpcFromContext(ctx context.Context) *WshRpc { |
| 78 | rtn := ctx.Value(wshRpcContextKey{}) |
no outgoing calls
no test coverage detected