ReqRepServer
Namespace: XRay
Attributes:
[<RequireQualifiedAccess>]
[<CompilationRepresentation(4)>]
Operations on request reply servers.
Functions and values
Function or value | Description |
complete(ch span b)
Signature: ch:ReqRepServer<'i,'o,'a,'b> -> span:Span -> b:'b -> 'o
Type parameters: 'i, 'o, 'a, 'b
|
Completes an operation to handle a request on a server.
|
error(ch span error)
Signature: ch:ReqRepServer<'i,'o,'a,'b> -> span:Span -> error:string -> Span
Type parameters: 'i, 'o, 'a, 'b
|
|
server(ch spanName f)
Signature: ch:ReqRepServer<'i,'o,'a,'b> -> spanName:string -> f:(Span -> 'a -> Async<'b>) -> 'i -> Async<'o>
Type parameters: 'i, 'o, 'a, 'b
|
Creates a server for a request-reply channel.
|
start(ch spanName i)
Signature: ch:ReqRepServer<'i,'o,'a,'b> -> spanName:string -> i:'i -> 'a * Span
Type parameters: 'i, 'o, 'a, 'b
|
Starts an operation to handle a request on a server.
A trace is extracted from the specified request.
|