Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RequestOne

import { RequestOne } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
class RequestOne extends BaseRequest implements Request {
constructor(
requestSubject: string,
asyncTraces?,
);
deferred: Deferred<Msg>;
timer: Timeout<Msg>;
 
cancel(err?: NatsError): void;
resolver(err: Error | null, msg: Msg): void;
}

§Extends

§
BaseRequest
[src]

§Implements

§Constructors

§
new RequestOne(mux: MuxSubscription, requestSubject: string, opts?: RequestOptions, asyncTraces?)
[src]

§Properties

§
deferred: Deferred<Msg>
[src]

§Methods

§
cancel(err?: NatsError): void
[src]
§
resolver(err: Error | null, msg: Msg): void
[src]