You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
outstanding_requests::Dict{String,Channel{Any}}# These are requests sent where we are waiting for a response
123
+
cancellation_sources::Dict{String,CancellationTokens.CancellationTokenSource}# These are the cancellation sources for requests that are not finished processing
params = param_type === Nothing ?nothing: param_type <:NamedTuple?convert(param_type,(;(Symbol(i[1])=>i[2] for i in msg["params"])...)) :param_type(msg["params"])
65
+
params = param_type === Nothing ?nothing: param_type <:NamedTuple?convert(param_type,(;(Symbol(i[1])=>i[2] for i in msg.params)...)) :param_type(msg.params)
params = param_type === Nothing ?nothing: param_type <:NamedTuple?convert(param_type,(;(Symbol(i[1])=>i[2] for i in msg["params"])...)) :param_type(msg["params"])
104
+
params = param_type === Nothing ?nothing: param_type <:NamedTuple?convert(param_type,(;(Symbol(i[1])=>i[2] for i in msg.params)...)) :param_type(msg.params)
101
105
102
106
if context===nothing
103
-
res =$(esc(i.args[3]))(x, params)
107
+
if$(esc(i.args[2])) isa RequestType
108
+
res =$(esc(i.args[3]))(params, msg.token)
109
+
else
110
+
res =$(esc(i.args[3]))(params)
111
+
end
104
112
else
105
-
res =$(esc(i.args[3]))(x, params, context)
113
+
if$(esc(i.args[2])) isa RequestType
114
+
res =$(esc(i.args[3]))(params, context, msg.token)
0 commit comments