- wrapper (sessionId : UInt64) : Json → RequestM (RequestTask Json)
Instances For
@[instance_reducible]
Equations
Checks whether a builtin RPC procedure exists with the given name.
Equations
- Lean.Server.existsBuiltinRpcProcedure method = do let __do_lift ← ST.Ref.get Lean.Server.builtinRpcProcedures✝ pure (Lean.PersistentHashMap.contains __do_lift method)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Server.wrapRpcProcedure (method : Name) (paramType respType : Type) [RpcEncodable paramType] [RpcEncodable respType] (handler : paramType → RequestM (RequestTask respType)) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Server.registerBuiltinRpcProcedure (method : Name) (paramType respType : Type) [RpcEncodable paramType] [RpcEncodable respType] (handler : paramType → RequestM (RequestTask respType)) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.