diff --git a/core/src/internal_mod.ts b/core/src/internal_mod.ts index 70385dee..af2e089f 100644 --- a/core/src/internal_mod.ts +++ b/core/src/internal_mod.ts @@ -146,6 +146,8 @@ export { isIPV4OrHostname, Servers } from "./servers.ts"; export { wsconnect, wsUrlParseFn } from "./ws_transport.ts"; +export type { WsConnectionOptions, WsSocketFactory } from "./ws_transport.ts"; + export { AuthorizationError, ClosedConnectionError, diff --git a/core/src/mod.ts b/core/src/mod.ts index a402cd63..37dfe36c 100644 --- a/core/src/mod.ts +++ b/core/src/mod.ts @@ -105,4 +105,6 @@ export type { TlsOptions, TokenAuth, UserPass, + WsConnectionOptions, + WsSocketFactory, } from "./internal_mod.ts"; diff --git a/core/src/ws_transport.ts b/core/src/ws_transport.ts index 42e922bb..70fd80ee 100644 --- a/core/src/ws_transport.ts +++ b/core/src/ws_transport.ts @@ -33,11 +33,26 @@ import { errors, InvalidArgumentError } from "./errors.ts"; const VERSION = version; const LANG = "nats.ws"; +/** + * WsSocketFactory is a factory that returns a WebSocket and a boolean + * indicating if the connection is encrypted. Client code is responsible + * for creating a W3C WebSocket compliant transport. + * + * @param u the url to connect to + * @param opts the connection options + * @returns a promise that resolves to a WebSocket and a boolean indicating if + * the connection is encrypted + */ export type WsSocketFactory = (u: string, opts: ConnectionOptions) => Promise<{ socket: WebSocket; encrypted: boolean; }>; -interface WsConnectionOptions extends ConnectionOptions { + +/** + * WsConnectionOptions exposes wsconnect specific options not applicable to + * other transports. + */ +export interface WsConnectionOptions extends ConnectionOptions { wsFactory?: WsSocketFactory; } @@ -334,7 +349,7 @@ export function wsUrlParseFn(u: string, encrypted?: boolean): string { } export function wsconnect( - opts: ConnectionOptions = {}, + opts: ConnectionOptions | WsConnectionOptions = {}, ): Promise { setTransportFactory({ defaultPort: 443, diff --git a/docs/core/assets/hierarchy.js b/docs/core/assets/hierarchy.js index f7bd283d..5c871c5c 100644 --- a/docs/core/assets/hierarchy.js +++ b/docs/core/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJx1j80KwjAQhN9lz6k/kVbJE+jBJ5AeQpLaYH5KNp5K3t2NYhXE08LMtzPMDCnGjCAu3X7TM0hmcEZlGwNpM/B2V0+Q3oCAM16POuHJTw4Y3GzQILb8wOCeHNnKSUSD6y9sNWZf2adFSEbd1L/mJRQGVPvbsKTztnun25BNGqT6FPwNX9BqjtbpZAItpDF9KeUBdypPlg==" \ No newline at end of file +window.hierarchyData = "eJyVzz8LwjAQBfDv8ub4L3hRs7roII4O4lDaqMU0Lbk4Sb67xKoUVNQpkHuP390Fvq4DQ29JklA02Ql4s7cmD2XtGPoCOVbpcVlloLHiw6LwvKwaC4FT6QrokZwKnL2FRm4zZsODTqx/DFXK3kbQCFz0Uq/XfkQBktQR5rVzLb9u2iUejiT1cEoXjN9nueHBS/4j+Cyl4bG0hTcOejuj4S4KKJq83vnFvqf+FeVYJXFGw4644X8vf9P4YZMY4xWf+6dF" \ No newline at end of file diff --git a/docs/core/assets/navigation.js b/docs/core/assets/navigation.js index c6eed50e..df4e2e41 100644 --- a/docs/core/assets/navigation.js +++ b/docs/core/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJylmEt32zYQhf+L1k7buInbeufKzonaylHsJF3kZAGRIwkRCLAAKFvt6X8v+BIBAhiwylK8935DCuTg8fmfmYZnPbue8T0c1exiVhK9Mz8LkVcM1PfN5e92umBG21Oez65fXcwyRpQyLq3yF1S9MASQnNSWbEdZLoHPrj+f0Pe/G8adlELORQ5DDeBV0VdwPW7Bn+MF/70IVBkqNDHwa7j8l5fTKpj4ilALT7kxbUh2qtA5XPzl66tJ+ANIRQUf8AciKVkPo9AZXPqPl5PgmQSi4SbLRMX1UGJT8UwbZl/CsbmFrpBx9wrNK3mAVJnG9A1F3pUgibbHO1yn931DqY8KkmVqz1klcsic72KMb/Wz0MBxdKufhd5IUTQj+AiQxys4trMLrao1oxlepfWcXSL9GP/zCb5YBW4qvROS/k1qZqRJ+R6vTVnEX83Q7XxIcxnLzZlQkM8F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XbRz8L24CBuvknyOg0NM41NriDjELkDkT0yzyqGKKe7pb1YiVE6EUM8Kyn9fuAD8O6T2WqfTd9jjI//PLT2/fnzraDgTBLJjb1m1TqMWOsp3lSQwx1lNKUUhtQn/Y5MVGaZ0lRr5mm7W8aRo71FO9WKgqPgDJDnhT39+tFGHYUUoQFMdR7HZqLyaTezAjnK0J3Xn6QUpR7IqR3983FZFKG3uT2aiq7JBWXJB+Hu8up9HGQot+C75jMTACn0poZ7MkoYmBT+TRHTtMO7ADqVvicTkgR2vmrWeeHn88zJIlcvsyk0GUBMaTnSDIN4TD00gg2ZJpADqOmZK1p05sGOpBvSVIrQf1lWoeztBTnWT9JugNzS6iRynvTRnKKdlPsjcUYjs8bYXxsbp+S1m+ODiVbBYmOOuCQDHRBJyiccwvrqN87uZh4wr8a702HI8xVaGt68c4Ol4znkY2yxfFcCJISIQWjhC/mi5sPQHJQd1CFsGEnhm7O2+diJV+DvEHGIblOPrLvQpA5kJwzETxv7zU0Pt5N2/HQZnoUd/bSdtbbSjvBLdHPuj9ECgEcAwZqxk4HEa2EhL+2e3Z0NMYeBFcwzlnwVloFiQp3VWH9FeCvLNzgrt1zo8/gmRCgDvbZgaWjvdbBmH7Hgd6Y70KQpa4bUAH1NuRFqnTvQANIoZd+rRyCHkUP8OU/g3iSWg==" \ No newline at end of file diff --git a/docs/core/assets/search.js b/docs/core/assets/search.js index 8cba9b0f..cc0c6e6b 100644 --- a/docs/core/assets/search.js +++ b/docs/core/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1XV2X2zaS/S/tV29GKOgzbxkncyY760k2mZ19yMnxYUt0m7E+OqLUtidn/vsSACkVChdUUdI+2S0CVUXgAijULYB/POx3n+qHr3/54+FjtV09fG1o/vphW2zKh68fvjkePuz21b+KQ7Xbfrff7/YPrx+O+3XzaLku6rqs/5QW+erDYbNuyrUlmrIP/37dSZ8YOklf7rb1YX9cHvRiX8V1mIrXD8/FvtwesNVnA2g0Pr9fU6Uu1bq70ldo5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O+Vtz49g8/fUZ4Nn6QFMGj/qMK10BtNT4Y4m97hWcS2mo8D/mbv/4soDBH1dLaXd60RTmiccrPDaFFv+YbTkMKT0ZbFVXJAjs+YaZFP0gN6djC8zbt1+eQtfnnIvVwrm3Iajid5x0OEfZrkiF6lvR/Sfq/DCcO+yWNFs5zxxLPdD7AIyHJOTYsKu/faqOSIQFr2MXI3o4R6zm64U9fns2wNR7v/SjSYkiTE7ZEk9emskGZn6t64pYUP+02EcIGI51DUvLnQxJiBptT7U5AvGT7EBH4N0gI35mVEWaGerP+ug89CsN7L3n9wO+P8G+hUIPnCrcDZvvKj3F6TtWLI2EUyASnq9Ke2QEEQ/mgVSV9jxQuvj83QCT5Z8YSIeL63EzeOkD+KoKEwdLPzWNm7hwIg5D+XKZJ2IZNU20/5S2S52cCa8lu49f7u+fiObcn5F+/+/WPP/4fVcg7Rg=="; \ No newline at end of file diff --git a/docs/core/classes/AuthorizationError.html b/docs/core/classes/AuthorizationError.html index 5c7b39a7..b21a3981 100644 --- a/docs/core/classes/AuthorizationError.html +++ b/docs/core/classes/AuthorizationError.html @@ -7,11 +7,32 @@ message name stack? -prepareStackTrace? stackTraceLimit

Methods

Constructors

  • Parameters

    • message: string
    • Optionaloptions: ErrorOptions

    Returns AuthorizationError

Properties

cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

-
stackTraceLimit: number

Methods

  • Create .stack property on a target object

    -

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

+prepareStackTrace +

Constructors

  • Parameters

    • message: string
    • Optionaloptions: ErrorOptions

    Returns AuthorizationError

Properties

cause?: unknown
message: string
name: string
stack?: string
stackTraceLimit: number

The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

+

The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

+

If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

+

Methods

  • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

    +
    const myObject = {};
    Error.captureStackTrace(myObject);
    myObject.stack; // Similar to `new Error().stack` +
    + +

    The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

    +

    The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

    +

    The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

    +
    function a() {
    b();
    }

    function b() {
    c();
    }

    function c() {
    // Create an error without stack trace to avoid calculating the stack trace twice.
    const { stackTraceLimit } = Error;
    Error.stackTraceLimit = 0;
    const error = new Error();
    Error.stackTraceLimit = stackTraceLimit;

    // Capture the stack trace above function b
    Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
    throw error;
    }

    a(); +
    + +

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

diff --git a/docs/core/classes/ClosedConnectionError.html b/docs/core/classes/ClosedConnectionError.html index 49243a66..8a12e26b 100644 --- a/docs/core/classes/ClosedConnectionError.html +++ b/docs/core/classes/ClosedConnectionError.html @@ -1,15 +1,36 @@ ClosedConnectionError | @nats-io/nats-core
@nats-io/nats-core
    Preparing search index...

    Class ClosedConnectionError

    Class representing an error thrown when an operation is attempted on a closed connection.

    This error is intended to signal that a connection-related operation could not be completed because the connection is no longer open or has been terminated.

    -

    Hierarchy

    • Error
      • ClosedConnectionError
    Index

    Constructors

    Hierarchy

    • Error
      • ClosedConnectionError
    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    -
    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    +prepareStackTrace +

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    stackTraceLimit: number

    The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

    +

    The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

    +

    If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

    +

    Methods

    • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

      +
      const myObject = {};
      Error.captureStackTrace(myObject);
      myObject.stack; // Similar to `new Error().stack` +
      + +

      The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

      +

      The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

      +

      The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

      +
      function a() {
      b();
      }

      function b() {
      c();
      }

      function c() {
      // Create an error without stack trace to avoid calculating the stack trace twice.
      const { stackTraceLimit } = Error;
      Error.stackTraceLimit = 0;
      const error = new Error();
      Error.stackTraceLimit = stackTraceLimit;

      // Capture the stack trace above function b
      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
      throw error;
      }

      a(); +
      + +

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/docs/core/classes/ConnectionError.html b/docs/core/classes/ConnectionError.html index 21f31554..03db27db 100644 --- a/docs/core/classes/ConnectionError.html +++ b/docs/core/classes/ConnectionError.html @@ -2,15 +2,36 @@ Extends the built-in Error class to provide additional context for connection-related issues.

    A human-readable description of the error.

    Optional settings for customizing the error behavior.

    -

    Hierarchy

    Index

    Constructors

    Hierarchy

    • Error
      • ConnectionError
    Index

    Constructors

    • Parameters

      • message: string
      • Optionaloptions: ErrorOptions

      Returns ConnectionError

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    -
    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    +prepareStackTrace +

    Constructors

    • Parameters

      • message: string
      • Optionaloptions: ErrorOptions

      Returns ConnectionError

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    stackTraceLimit: number

    The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

    +

    The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

    +

    If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

    +

    Methods

    • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

      +
      const myObject = {};
      Error.captureStackTrace(myObject);
      myObject.stack; // Similar to `new Error().stack` +
      + +

      The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

      +

      The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

      +

      The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

      +
      function a() {
      b();
      }

      function b() {
      c();
      }

      function c() {
      // Create an error without stack trace to avoid calculating the stack trace twice.
      const { stackTraceLimit } = Error;
      Error.stackTraceLimit = 0;
      const error = new Error();
      Error.stackTraceLimit = stackTraceLimit;

      // Capture the stack trace above function b
      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
      throw error;
      }

      a(); +
      + +

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/docs/core/classes/DrainingConnectionError.html b/docs/core/classes/DrainingConnectionError.html index 76a89ff7..584156b1 100644 --- a/docs/core/classes/DrainingConnectionError.html +++ b/docs/core/classes/DrainingConnectionError.html @@ -4,15 +4,36 @@ gracefully closed or when they are transitioning to an inactive state.

    The error message is set to "connection draining" and the error name is overridden to "DrainingConnectionError".

    -

    Hierarchy

    Index

    Constructors

    Hierarchy

    • Error
      • DrainingConnectionError
    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    -
    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    +prepareStackTrace +

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string
    stackTraceLimit: number

    The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

    +

    The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

    +

    If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

    +

    Methods

    • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

      +
      const myObject = {};
      Error.captureStackTrace(myObject);
      myObject.stack; // Similar to `new Error().stack` +
      + +

      The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

      +

      The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

      +

      The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

      +
      function a() {
      b();
      }

      function b() {
      c();
      }

      function c() {
      // Create an error without stack trace to avoid calculating the stack trace twice.
      const { stackTraceLimit } = Error;
      Error.stackTraceLimit = 0;
      const error = new Error();
      Error.stackTraceLimit = stackTraceLimit;

      // Capture the stack trace above function b
      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
      throw error;
      }

      a(); +
      + +

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/docs/core/classes/InvalidArgumentError.html b/docs/core/classes/InvalidArgumentError.html index c72c1853..be098b07 100644 --- a/docs/core/classes/InvalidArgumentError.html +++ b/docs/core/classes/InvalidArgumentError.html @@ -1,13 +1,34 @@ -InvalidArgumentError | @nats-io/nats-core
    @nats-io/nats-core
      Preparing search index...

      Class InvalidArgumentError

      Hierarchy

      • Error
        • InvalidArgumentError
      Index

      Constructors

      constructor +InvalidArgumentError | @nats-io/nats-core
      @nats-io/nats-core
        Preparing search index...

        Class InvalidArgumentError

        Hierarchy

        • Error
          • InvalidArgumentError
        Index

        Constructors

        • Parameters

          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidArgumentError

        Properties

        cause?: unknown
        message: string
        name: string
        stack?: string
        prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

        Optional override for formatting stack traces

        -
        stackTraceLimit: number

        Methods

        • Create .stack property on a target object

          -

          Parameters

          • targetObject: object
          • OptionalconstructorOpt: Function

          Returns void

        • Parameters

          • property: string | string[]
          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidArgumentError

        +prepareStackTrace +

        Constructors

        • Parameters

          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidArgumentError

        Properties

        cause?: unknown
        message: string
        name: string
        stack?: string
        stackTraceLimit: number

        The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

        +

        The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

        +

        If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

        +

        Methods

        • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

          +
          const myObject = {};
          Error.captureStackTrace(myObject);
          myObject.stack; // Similar to `new Error().stack` +
          + +

          The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

          +

          The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

          +

          The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

          +
          function a() {
          b();
          }

          function b() {
          c();
          }

          function c() {
          // Create an error without stack trace to avoid calculating the stack trace twice.
          const { stackTraceLimit } = Error;
          Error.stackTraceLimit = 0;
          const error = new Error();
          Error.stackTraceLimit = stackTraceLimit;

          // Capture the stack trace above function b
          Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
          throw error;
          }

          a(); +
          + +

          Parameters

          • targetObject: object
          • OptionalconstructorOpt: Function

          Returns void

        • Parameters

          • property: string | string[]
          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidArgumentError

        diff --git a/docs/core/classes/InvalidOperationError.html b/docs/core/classes/InvalidOperationError.html index 2a19b32f..42b8922d 100644 --- a/docs/core/classes/InvalidOperationError.html +++ b/docs/core/classes/InvalidOperationError.html @@ -5,15 +5,36 @@

        InvalidOperationError

        The error message that explains the reason for the error.

        Optional parameter to provide additional error options.

        -

        Hierarchy

        Index

        Constructors

        Hierarchy

        • Error
          • InvalidOperationError
        Index

        Constructors

        • Parameters

          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidOperationError

        Properties

        cause?: unknown
        message: string
        name: string
        stack?: string
        prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

        Optional override for formatting stack traces

        -
        stackTraceLimit: number

        Methods

        • Create .stack property on a target object

          -

          Parameters

          • targetObject: object
          • OptionalconstructorOpt: Function

          Returns void

        +prepareStackTrace +

        Constructors

        • Parameters

          • message: string
          • Optionaloptions: ErrorOptions

          Returns InvalidOperationError

        Properties

        cause?: unknown
        message: string
        name: string
        stack?: string
        stackTraceLimit: number

        The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

        +

        The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

        +

        If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

        +

        Methods

        • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

          +
          const myObject = {};
          Error.captureStackTrace(myObject);
          myObject.stack; // Similar to `new Error().stack` +
          + +

          The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

          +

          The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

          +

          The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

          +
          function a() {
          b();
          }

          function b() {
          c();
          }

          function c() {
          // Create an error without stack trace to avoid calculating the stack trace twice.
          const { stackTraceLimit } = Error;
          Error.stackTraceLimit = 0;
          const error = new Error();
          Error.stackTraceLimit = stackTraceLimit;

          // Capture the stack trace above function b
          Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
          throw error;
          }

          a(); +
          + +

          Parameters

          • targetObject: object
          • OptionalconstructorOpt: Function

          Returns void

        diff --git a/docs/core/classes/InvalidSubjectError.html b/docs/core/classes/InvalidSubjectError.html index b017bb88..a7a09e01 100644 --- a/docs/core/classes/InvalidSubjectError.html +++ b/docs/core/classes/InvalidSubjectError.html @@ -1,14 +1,35 @@ InvalidSubjectError | @nats-io/nats-core
        @nats-io/nats-core
          Preparing search index...

          Class InvalidSubjectError

          Represents an error that is thrown when an invalid subject is encountered. This class extends the built-in Error object.

          -

          Hierarchy

          • Error
            • InvalidSubjectError
          Index

          Constructors

          Hierarchy

          • Error
            • InvalidSubjectError
          Index

          Constructors

          • Parameters

            • subject: string
            • Optionaloptions: ErrorOptions

            Returns InvalidSubjectError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

          Optional override for formatting stack traces

          -
          stackTraceLimit: number

          Methods

          • Create .stack property on a target object

            -

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          +prepareStackTrace +

          Constructors

          • Parameters

            • subject: string
            • Optionaloptions: ErrorOptions

            Returns InvalidSubjectError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          stackTraceLimit: number

          The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

          +

          The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

          +

          If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

          +

          Methods

          • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

            +
            const myObject = {};
            Error.captureStackTrace(myObject);
            myObject.stack; // Similar to `new Error().stack` +
            + +

            The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

            +

            The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

            +

            The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

            +
            function a() {
            b();
            }

            function b() {
            c();
            }

            function c() {
            // Create an error without stack trace to avoid calculating the stack trace twice.
            const { stackTraceLimit } = Error;
            Error.stackTraceLimit = 0;
            const error = new Error();
            Error.stackTraceLimit = stackTraceLimit;

            // Capture the stack trace above function b
            Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
            throw error;
            }

            a(); +
            + +

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          diff --git a/docs/core/classes/NoRespondersError.html b/docs/core/classes/NoRespondersError.html index ad985502..5092a006 100644 --- a/docs/core/classes/NoRespondersError.html +++ b/docs/core/classes/NoRespondersError.html @@ -3,16 +3,37 @@ is typically found as the cause for a RequestError

          The subject for which no responders were found.

          Optional error options.

          -

          Hierarchy

          Index

          Constructors

          Hierarchy

          • Error
            • NoRespondersError
          Index

          Constructors

          • Parameters

            • subject: string
            • Optionaloptions: ErrorOptions

            Returns NoRespondersError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          subject: string
          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

          Optional override for formatting stack traces

          -
          stackTraceLimit: number

          Methods

          • Create .stack property on a target object

            -

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          +prepareStackTrace +

          Constructors

          • Parameters

            • subject: string
            • Optionaloptions: ErrorOptions

            Returns NoRespondersError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          subject: string
          stackTraceLimit: number

          The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

          +

          The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

          +

          If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

          +

          Methods

          • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

            +
            const myObject = {};
            Error.captureStackTrace(myObject);
            myObject.stack; // Similar to `new Error().stack` +
            + +

            The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

            +

            The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

            +

            The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

            +
            function a() {
            b();
            }

            function b() {
            c();
            }

            function c() {
            // Create an error without stack trace to avoid calculating the stack trace twice.
            const { stackTraceLimit } = Error;
            Error.stackTraceLimit = 0;
            const error = new Error();
            Error.stackTraceLimit = stackTraceLimit;

            // Capture the stack trace above function b
            Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
            throw error;
            }

            a(); +
            + +

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          diff --git a/docs/core/classes/PermissionViolationError.html b/docs/core/classes/PermissionViolationError.html index 3fcf646c..a872e52e 100644 --- a/docs/core/classes/PermissionViolationError.html +++ b/docs/core/classes/PermissionViolationError.html @@ -2,7 +2,7 @@ It provides information about the operation (either "publish" or "subscription") and the subject used for the operation and the optional queue (if a subscription).

          This error is terminal for a subscription.

          -

          Hierarchy

          Index

          Constructors

          Hierarchy

          • Error
            • PermissionViolationError
          Index

          Constructors

          • Parameters

            • message: string
            • operation: "publish" | "subscription"
            • subject: string
            • Optionalqueue: string
            • Optionaloptions: ErrorOptions

            Returns PermissionViolationError

          Properties

          cause?: unknown
          message: string
          name: string
          operation: "publish" | "subscription"
          queue?: string
          stack?: string
          subject: string
          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

          Optional override for formatting stack traces

          -
          stackTraceLimit: number

          Methods

          • Create .stack property on a target object

            -

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          +prepareStackTrace +

          Constructors

          • Parameters

            • message: string
            • operation: "publish" | "subscription"
            • subject: string
            • Optionalqueue: string
            • Optionaloptions: ErrorOptions

            Returns PermissionViolationError

          Properties

          cause?: unknown
          message: string
          name: string
          operation: "publish" | "subscription"
          queue?: string
          stack?: string
          subject: string
          stackTraceLimit: number

          The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

          +

          The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

          +

          If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

          +

          Methods

          • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

            +
            const myObject = {};
            Error.captureStackTrace(myObject);
            myObject.stack; // Similar to `new Error().stack` +
            + +

            The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

            +

            The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

            +

            The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

            +
            function a() {
            b();
            }

            function b() {
            c();
            }

            function c() {
            // Create an error without stack trace to avoid calculating the stack trace twice.
            const { stackTraceLimit } = Error;
            Error.stackTraceLimit = 0;
            const error = new Error();
            Error.stackTraceLimit = stackTraceLimit;

            // Capture the stack trace above function b
            Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
            throw error;
            }

            a(); +
            + +

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          diff --git a/docs/core/classes/ProtocolError.html b/docs/core/classes/ProtocolError.html index d421d9c7..d3b73fd7 100644 --- a/docs/core/classes/ProtocolError.html +++ b/docs/core/classes/ProtocolError.html @@ -3,15 +3,36 @@ error type called ProtocolError.

          A descriptive message describing the error.

          Optional parameters to include additional details.

          -

          Hierarchy

          Index

          Constructors

          Hierarchy

          • Error
            • ProtocolError
          Index

          Constructors

          • Parameters

            • message: string
            • Optionaloptions: ErrorOptions

            Returns ProtocolError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

          Optional override for formatting stack traces

          -
          stackTraceLimit: number

          Methods

          • Create .stack property on a target object

            -

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          +prepareStackTrace +

          Constructors

          • Parameters

            • message: string
            • Optionaloptions: ErrorOptions

            Returns ProtocolError

          Properties

          cause?: unknown
          message: string
          name: string
          stack?: string
          stackTraceLimit: number

          The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

          +

          The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

          +

          If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

          +

          Methods

          • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

            +
            const myObject = {};
            Error.captureStackTrace(myObject);
            myObject.stack; // Similar to `new Error().stack` +
            + +

            The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

            +

            The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

            +

            The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

            +
            function a() {
            b();
            }

            function b() {
            c();
            }

            function c() {
            // Create an error without stack trace to avoid calculating the stack trace twice.
            const { stackTraceLimit } = Error;
            Error.stackTraceLimit = 0;
            const error = new Error();
            Error.stackTraceLimit = stackTraceLimit;

            // Capture the stack trace above function b
            Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
            throw error;
            }

            a(); +
            + +

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          diff --git a/docs/core/classes/RequestError.html b/docs/core/classes/RequestError.html index 44920b0e..f5003695 100644 --- a/docs/core/classes/RequestError.html +++ b/docs/core/classes/RequestError.html @@ -1,15 +1,36 @@ RequestError | @nats-io/nats-core
          @nats-io/nats-core
            Preparing search index...

            Class RequestError

            Class representing an error that occurs during an request operation (such as TimeoutError, or NoRespondersError, or some other error).

            -

            Hierarchy

            • Error
              • RequestError
            Index

            Constructors

            Hierarchy

            • Error
              • RequestError
            Index

            Constructors

            • Parameters

              • message: string = ""
              • Optionaloptions: ErrorOptions

              Returns RequestError

            Properties

            cause?: unknown
            message: string
            name: string
            stack?: string
            prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

            Optional override for formatting stack traces

            -
            stackTraceLimit: number

            Methods

            • Returns boolean

            • Create .stack property on a target object

              -

              Parameters

              • targetObject: object
              • OptionalconstructorOpt: Function

              Returns void

            +prepareStackTrace +

            Constructors

            • Parameters

              • message: string = ""
              • Optionaloptions: ErrorOptions

              Returns RequestError

            Properties

            cause?: unknown
            message: string
            name: string
            stack?: string
            stackTraceLimit: number

            The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

            +

            The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

            +

            If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

            +

            Methods

            • Returns boolean

            • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

              +
              const myObject = {};
              Error.captureStackTrace(myObject);
              myObject.stack; // Similar to `new Error().stack` +
              + +

              The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

              +

              The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

              +

              The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

              +
              function a() {
              b();
              }

              function b() {
              c();
              }

              function c() {
              // Create an error without stack trace to avoid calculating the stack trace twice.
              const { stackTraceLimit } = Error;
              Error.stackTraceLimit = 0;
              const error = new Error();
              Error.stackTraceLimit = stackTraceLimit;

              // Capture the stack trace above function b
              Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
              throw error;
              }

              a(); +
              + +

              Parameters

              • targetObject: object
              • OptionalconstructorOpt: Function

              Returns void

            diff --git a/docs/core/classes/TimeoutError.html b/docs/core/classes/TimeoutError.html index 81587f71..5c0b1ab2 100644 --- a/docs/core/classes/TimeoutError.html +++ b/docs/core/classes/TimeoutError.html @@ -1,15 +1,36 @@ TimeoutError | @nats-io/nats-core
            @nats-io/nats-core
              Preparing search index...

              Class TimeoutError

              TimeoutError is a custom error class that extends the built-in Error class. It is used to represent an error that occurs when an operation exceeds a predefined time limit.

              -

              Hierarchy

              • Error
                • TimeoutError
              Index

              Constructors

              Hierarchy

              • Error
                • TimeoutError
              Index

              Constructors

              • Parameters

                • Optionaloptions: ErrorOptions

                Returns TimeoutError

              Properties

              cause?: unknown
              message: string
              name: string
              stack?: string
              prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

              Optional override for formatting stack traces

              -
              stackTraceLimit: number

              Methods

              • Create .stack property on a target object

                -

                Parameters

                • targetObject: object
                • OptionalconstructorOpt: Function

                Returns void

              +prepareStackTrace +

              Constructors

              • Parameters

                • Optionaloptions: ErrorOptions

                Returns TimeoutError

              Properties

              cause?: unknown
              message: string
              name: string
              stack?: string
              stackTraceLimit: number

              The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

              +

              The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

              +

              If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

              +

              Methods

              • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                +
                const myObject = {};
                Error.captureStackTrace(myObject);
                myObject.stack; // Similar to `new Error().stack` +
                + +

                The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                +

                The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                +

                The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                +
                function a() {
                b();
                }

                function b() {
                c();
                }

                function c() {
                // Create an error without stack trace to avoid calculating the stack trace twice.
                const { stackTraceLimit } = Error;
                Error.stackTraceLimit = 0;
                const error = new Error();
                Error.stackTraceLimit = stackTraceLimit;

                // Capture the stack trace above function b
                Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                throw error;
                }

                a(); +
                + +

                Parameters

                • targetObject: object
                • OptionalconstructorOpt: Function

                Returns void

              diff --git a/docs/core/classes/UserAuthenticationExpiredError.html b/docs/core/classes/UserAuthenticationExpiredError.html index be012ad3..35bba951 100644 --- a/docs/core/classes/UserAuthenticationExpiredError.html +++ b/docs/core/classes/UserAuthenticationExpiredError.html @@ -1,16 +1,37 @@ UserAuthenticationExpiredError | @nats-io/nats-core
              @nats-io/nats-core
                Preparing search index...

                Class UserAuthenticationExpiredError

                Represents an error indicating that user authentication has expired. This error is typically thrown when a user attempts to access a connection but their authentication credentials have expired.

                -

                Hierarchy

                • Error
                  • UserAuthenticationExpiredError
                Index

                Constructors

                Hierarchy

                • Error
                  • UserAuthenticationExpiredError
                Index

                Constructors

                Properties

                cause?: unknown
                message: string
                name: string
                stack?: string
                prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                Optional override for formatting stack traces

                -
                stackTraceLimit: number

                Methods

                • Create .stack property on a target object

                  -

                  Parameters

                  • targetObject: object
                  • OptionalconstructorOpt: Function

                  Returns void

                +prepareStackTrace +

                Constructors

                Properties

                cause?: unknown
                message: string
                name: string
                stack?: string
                stackTraceLimit: number

                The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                +

                The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                +

                If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                +

                Methods

                • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                  +
                  const myObject = {};
                  Error.captureStackTrace(myObject);
                  myObject.stack; // Similar to `new Error().stack` +
                  + +

                  The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                  +

                  The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                  +

                  The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                  +
                  function a() {
                  b();
                  }

                  function b() {
                  c();
                  }

                  function c() {
                  // Create an error without stack trace to avoid calculating the stack trace twice.
                  const { stackTraceLimit } = Error;
                  Error.stackTraceLimit = 0;
                  const error = new Error();
                  Error.stackTraceLimit = stackTraceLimit;

                  // Capture the stack trace above function b
                  Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                  throw error;
                  }

                  a(); +
                  + +

                  Parameters

                  • targetObject: object
                  • OptionalconstructorOpt: Function

                  Returns void

                diff --git a/docs/core/classes/nkeys.NKeysError.html b/docs/core/classes/nkeys.NKeysError.html index ba045397..da01df9d 100644 --- a/docs/core/classes/nkeys.NKeysError.html +++ b/docs/core/classes/nkeys.NKeysError.html @@ -1,13 +1,34 @@ -NKeysError | @nats-io/nats-core
                @nats-io/nats-core
                  Preparing search index...

                  Class NKeysError

                  Hierarchy

                  • Error
                    • NKeysError
                  Index

                  Constructors

                  constructor +NKeysError | @nats-io/nats-core
                  @nats-io/nats-core
                    Preparing search index...

                    Class NKeysError

                    Hierarchy

                    • Error
                      • NKeysError
                    Index

                    Constructors

                    Properties

                    cause?: unknown
                    code: string
                    message: string
                    name: string
                    stack?: string
                    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                    Optional override for formatting stack traces

                    -
                    stackTraceLimit: number

                    Methods

                    • Create .stack property on a target object

                      -

                      Parameters

                      • targetObject: object
                      • OptionalconstructorOpt: Function

                      Returns void

                    +prepareStackTrace +

                    Constructors

                    Properties

                    cause?: unknown
                    code: string
                    message: string
                    name: string
                    stack?: string
                    stackTraceLimit: number

                    The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                    +

                    The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                    +

                    If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                    +

                    Methods

                    • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                      +
                      const myObject = {};
                      Error.captureStackTrace(myObject);
                      myObject.stack; // Similar to `new Error().stack` +
                      + +

                      The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                      +

                      The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                      +

                      The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                      +
                      function a() {
                      b();
                      }

                      function b() {
                      c();
                      }

                      function c() {
                      // Create an error without stack trace to avoid calculating the stack trace twice.
                      const { stackTraceLimit } = Error;
                      Error.stackTraceLimit = 0;
                      const error = new Error();
                      Error.stackTraceLimit = stackTraceLimit;

                      // Capture the stack trace above function b
                      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                      throw error;
                      }

                      a(); +
                      + +

                      Parameters

                      • targetObject: object
                      • OptionalconstructorOpt: Function

                      Returns void

                    diff --git a/docs/core/functions/wsconnect.html b/docs/core/functions/wsconnect.html index 347e2297..1aadf005 100644 --- a/docs/core/functions/wsconnect.html +++ b/docs/core/functions/wsconnect.html @@ -1 +1 @@ -wsconnect | @nats-io/nats-core
                    @nats-io/nats-core
                      Preparing search index...

                      Function wsconnect

                      +wsconnect | @nats-io/nats-core
                      @nats-io/nats-core
                        Preparing search index...

                        Function wsconnect

                        diff --git a/docs/core/hierarchy.html b/docs/core/hierarchy.html index f87a2ff2..ea5f79a2 100644 --- a/docs/core/hierarchy.html +++ b/docs/core/hierarchy.html @@ -1 +1 @@ -@nats-io/nats-core
                        @nats-io/nats-core
                          Preparing search index...

                          @nats-io/nats-core

                          Hierarchy Summary

                          +@nats-io/nats-core
                          @nats-io/nats-core
                            Preparing search index...
                            diff --git a/docs/core/index.html b/docs/core/index.html index 5b4b2cb8..67551ad7 100644 --- a/docs/core/index.html +++ b/docs/core/index.html @@ -1,5 +1,5 @@ @nats-io/nats-core
                            @nats-io/nats-core
                              Preparing search index...

                              @nats-io/nats-core

                              License -nats-core +nats-core JSDoc

                              JSR JSR

                              @@ -145,7 +145,7 @@

                              Here's an example of a service. It is a bit more complicated than expected simply to illustrate not only how to create responses, but how the subject itself is used to dispatch different behaviors.

                              -
                              import { connect, Subscription } from "@nats-io/nats-deno";

                              // create a connection
                              const nc = await connect({ servers: "demo.nats.io" });

                              // this subscription listens for `time` requests and returns the current time
                              const sub = nc.subscribe("time");
                              (async (sub: Subscription) => {
                              console.log(`listening for ${sub.getSubject()} requests...`);
                              for await (const m of sub) {
                              if (m.respond(new Date().toISOString())) {
                              console.info(`[time] handled #${sub.getProcessed()}`);
                              } else {
                              console.log(`[time] #${sub.getProcessed()} ignored - no reply subject`);
                              }
                              }
                              console.log(`subscription ${sub.getSubject()} drained.`);
                              })(sub);

                              // this subscription listens for admin.uptime and admin.stop
                              // requests to admin.uptime returns how long the service has been running
                              // requests to admin.stop gracefully stop the client by draining
                              // the connection
                              const started = Date.now();
                              const msub = nc.subscribe("admin.*");
                              (async (sub: Subscription) => {
                              console.log(`listening for ${sub.getSubject()} requests [uptime | stop]`);
                              // it would be very good to verify the origin of the request
                              // before implementing something that allows your service to be managed.
                              // NATS can limit which client can send or receive on what subjects.
                              for await (const m of sub) {
                              const chunks = m.subject.split(".");
                              console.info(`[admin] #${sub.getProcessed()} handling ${chunks[1]}`);
                              switch (chunks[1]) {
                              case "uptime":
                              // send the number of millis since up
                              m.respond(`${Date.now() - started}`);
                              break;
                              case "stop": {
                              m.respond((`[admin] #${sub.getProcessed()} stopping....`);
                              // gracefully shutdown
                              nc.drain()
                              .catch((err) => {
                              console.log("error draining", err);
                              });
                              break;
                              }
                              default:
                              console.log(
                              `[admin] #${sub.getProcessed()} ignoring request for ${m.subject}`,
                              );
                              }
                              }
                              console.log(`subscription ${sub.getSubject()} drained.`);
                              })(msub);

                              // wait for the client to close here.
                              await nc.closed().then((err?: void | Error) => {
                              let m = `connection to ${nc.getServer()} closed`;
                              if (err) {
                              m = `${m} with an error: ${err.message}`;
                              }
                              console.log(m);
                              }); +
                              import { connect, Subscription } from "@nats-io/nats-deno";

                              // create a connection
                              const nc = await connect({ servers: "demo.nats.io" });

                              // this subscription listens for `time` requests and returns the current time
                              const sub = nc.subscribe("time");
                              (async (sub: Subscription) => {
                              console.log(`listening for ${sub.getSubject()} requests...`);
                              for await (const m of sub) {
                              if (m.respond(new Date().toISOString())) {
                              console.info(`[time] handled #${sub.getProcessed()}`);
                              } else {
                              console.log(`[time] #${sub.getProcessed()} ignored - no reply subject`);
                              }
                              }
                              console.log(`subscription ${sub.getSubject()} drained.`);
                              })(sub);

                              // this subscription listens for admin.uptime and admin.stop
                              // requests to admin.uptime returns how long the service has been running
                              // requests to admin.stop gracefully stop the client by draining
                              // the connection
                              const started = Date.now();
                              const msub = nc.subscribe("admin.*");
                              (async (sub: Subscription) => {
                              console.log(`listening for ${sub.getSubject()} requests [uptime | stop]`);
                              // it would be very good to verify the origin of the request
                              // before implementing something that allows your service to be managed.
                              // NATS can limit which client can send or receive on what subjects.
                              for await (const m of sub) {
                              const chunks = m.subject.split(".");
                              console.info(`[admin] #${sub.getProcessed()} handling ${chunks[1]}`);
                              switch (chunks[1]) {
                              case "uptime":
                              // send the number of millis since up
                              m.respond(`${Date.now() - started}`);
                              break;
                              case "stop": {
                              m.respond(`[admin] #${sub.getProcessed()} stopping....`);
                              // gracefully shutdown
                              nc.drain()
                              .catch((err) => {
                              console.log("error draining", err);
                              });
                              break;
                              }
                              default:
                              console.log(
                              `[admin] #${sub.getProcessed()} ignoring request for ${m.subject}`,
                              );
                              }
                              }
                              console.log(`subscription ${sub.getSubject()} drained.`);
                              })(msub);

                              // wait for the client to close here.
                              await nc.closed().then((err?: void | Error) => {
                              let m = `connection to ${nc.getServer()} closed`;
                              if (err) {
                              m = `${m} with an error: ${err.message}`;
                              }
                              console.log(m);
                              });

                              Here's a simple example of a client making a simple request from the service diff --git a/docs/core/interfaces/ConnectionOptions.html b/docs/core/interfaces/ConnectionOptions.html index 7b7c206d..3a8a4dc4 100644 --- a/docs/core/interfaces/ConnectionOptions.html +++ b/docs/core/interfaces/ConnectionOptions.html @@ -1,4 +1,4 @@ -ConnectionOptions | @nats-io/nats-core

                              @nats-io/nats-core
                                Preparing search index...

                                Interface ConnectionOptions

                                interface ConnectionOptions {
                                    authenticator?: Authenticator | Authenticator[];
                                    debug?: boolean;
                                    ignoreAuthErrorAbort?: boolean;
                                    ignoreClusterUpdates?: boolean;
                                    inboxPrefix?: string;
                                    maxPingOut?: number;
                                    maxReconnectAttempts?: number;
                                    name?: string;
                                    noAsyncTraces?: boolean;
                                    noEcho?: boolean;
                                    noRandomize?: boolean;
                                    pass?: string;
                                    pedantic?: boolean;
                                    pingInterval?: number;
                                    port?: number;
                                    reconnect?: boolean;
                                    reconnectDelayHandler?: () => number;
                                    reconnectJitter?: number;
                                    reconnectJitterTLS?: number;
                                    reconnectTimeWait?: number;
                                    resolve?: boolean;
                                    servers?: string | string[];
                                    timeout?: number;
                                    tls?: TlsOptions;
                                    token?: string;
                                    user?: string;
                                    verbose?: boolean;
                                    waitOnFirstConnect?: boolean;
                                }
                                Index

                                Properties

                                authenticator? +ConnectionOptions | @nats-io/nats-core
                                @nats-io/nats-core
                                  Preparing search index...

                                  Interface ConnectionOptions

                                  interface ConnectionOptions {
                                      authenticator?: Authenticator | Authenticator[];
                                      debug?: boolean;
                                      ignoreAuthErrorAbort?: boolean;
                                      ignoreClusterUpdates?: boolean;
                                      inboxPrefix?: string;
                                      maxPingOut?: number;
                                      maxReconnectAttempts?: number;
                                      name?: string;
                                      noAsyncTraces?: boolean;
                                      noEcho?: boolean;
                                      noRandomize?: boolean;
                                      pass?: string;
                                      pedantic?: boolean;
                                      pingInterval?: number;
                                      port?: number;
                                      reconnect?: boolean;
                                      reconnectDelayHandler?: () => number;
                                      reconnectJitter?: number;
                                      reconnectJitterTLS?: number;
                                      reconnectTimeWait?: number;
                                      resolve?: boolean;
                                      servers?: string | string[];
                                      timeout?: number;
                                      tls?: TlsOptions;
                                      token?: string;
                                      user?: string;
                                      verbose?: boolean;
                                      waitOnFirstConnect?: boolean;
                                  }

                                  Hierarchy (View Summary)

                                  Index

                                  Properties

                                  authenticator? debug? ignoreAuthErrorAbort? ignoreClusterUpdates? diff --git a/docs/core/interfaces/Deferred.html b/docs/core/interfaces/Deferred.html index c0c8466d..c2ee54ef 100644 --- a/docs/core/interfaces/Deferred.html +++ b/docs/core/interfaces/Deferred.html @@ -1,4 +1,4 @@ -Deferred | @nats-io/nats-core
                                  @nats-io/nats-core
                                    Preparing search index...

                                    Interface Deferred<T>

                                    interface Deferred<T> {
                                        "[toStringTag]": string;
                                        reject: (reason?: any) => void;
                                        resolve: (value?: T | PromiseLike<T>) => void;
                                        catch<TResult = never>(
                                            onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                        ): Promise<T | TResult>;
                                        finally(onfinally?: () => void): Promise<T>;
                                        then<TResult1 = T, TResult2 = never>(
                                            onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
                                            onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                        ): Promise<TResult1 | TResult2>;
                                    }

                                    Type Parameters

                                    • T

                                    Hierarchy

                                    • Promise<T>
                                      • Deferred
                                    Index

                                    Properties

                                    [toStringTag] +Deferred | @nats-io/nats-core
                                    @nats-io/nats-core
                                      Preparing search index...

                                      Interface Deferred<T>

                                      interface Deferred<T> {
                                          "[toStringTag]": string;
                                          reject: (reason?: any) => void;
                                          resolve: (value?: T | PromiseLike<T>) => void;
                                          catch<TResult = never>(
                                              onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                          ): Promise<T | TResult>;
                                          finally(onfinally?: () => void): Promise<T>;
                                          then<TResult1 = T, TResult2 = never>(
                                              onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
                                              onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                          ): Promise<TResult1 | TResult2>;
                                      }

                                      Type Parameters

                                      • T

                                      Hierarchy

                                      • Promise<T>
                                        • Deferred
                                      Index

                                      Properties

                                      Methods

                                      catch diff --git a/docs/core/interfaces/Delay.html b/docs/core/interfaces/Delay.html index 4f098194..5c5b3928 100644 --- a/docs/core/interfaces/Delay.html +++ b/docs/core/interfaces/Delay.html @@ -1,4 +1,4 @@ -Delay | @nats-io/nats-core
                                      @nats-io/nats-core
                                        Preparing search index...

                                        Interface Delay

                                        interface Delay {
                                            "[toStringTag]": string;
                                            cancel: () => void;
                                            catch<TResult = never>(
                                                onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                            ): Promise<void | TResult>;
                                            finally(onfinally?: () => void): Promise<void>;
                                            then<TResult1 = void, TResult2 = never>(
                                                onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>,
                                                onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                            ): Promise<TResult1 | TResult2>;
                                        }

                                        Hierarchy

                                        • Promise<void>
                                          • Delay
                                        Index

                                        Properties

                                        [toStringTag] +Delay | @nats-io/nats-core
                                        @nats-io/nats-core
                                          Preparing search index...

                                          Interface Delay

                                          interface Delay {
                                              "[toStringTag]": string;
                                              cancel: () => void;
                                              catch<TResult = never>(
                                                  onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                              ): Promise<void | TResult>;
                                              finally(onfinally?: () => void): Promise<void>;
                                              then<TResult1 = void, TResult2 = never>(
                                                  onfulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>,
                                                  onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                              ): Promise<TResult1 | TResult2>;
                                          }

                                          Hierarchy

                                          • Promise<void>
                                            • Delay
                                          Index

                                          Properties

                                          Methods

                                          catch finally diff --git a/docs/core/interfaces/MsgHdrs.html b/docs/core/interfaces/MsgHdrs.html index 0036c3b0..c1e91d3d 100644 --- a/docs/core/interfaces/MsgHdrs.html +++ b/docs/core/interfaces/MsgHdrs.html @@ -1,4 +1,4 @@ -MsgHdrs | @nats-io/nats-core
                                          @nats-io/nats-core
                                            Preparing search index...

                                            Interface MsgHdrs

                                            interface MsgHdrs {
                                                code: number;
                                                description: string;
                                                hasError: boolean;
                                                status: string;
                                                "[iterator]"(): Iterator<[string, string[]], any, any>;
                                                append(k: string, v: string, match?: Match): void;
                                                delete(k: string, match?: Match): void;
                                                get(k: string, match?: Match): string;
                                                has(k: string, match?: Match): boolean;
                                                keys(): string[];
                                                last(k: string, match?: Match): string;
                                                set(k: string, v: string, match?: Match): void;
                                                values(k: string, match?: Match): string[];
                                            }

                                            Hierarchy

                                            • Iterable<[string, string[]]>
                                              • MsgHdrs

                                            Implemented by

                                            Index

                                            Properties

                                            code +MsgHdrs | @nats-io/nats-core
                                            @nats-io/nats-core
                                              Preparing search index...

                                              Interface MsgHdrs

                                              interface MsgHdrs {
                                                  code: number;
                                                  description: string;
                                                  hasError: boolean;
                                                  status: string;
                                                  "[iterator]"(): Iterator<[string, string[]], any, any>;
                                                  append(k: string, v: string, match?: Match): void;
                                                  delete(k: string, match?: Match): void;
                                                  get(k: string, match?: Match): string;
                                                  has(k: string, match?: Match): boolean;
                                                  keys(): string[];
                                                  last(k: string, match?: Match): string;
                                                  set(k: string, v: string, match?: Match): void;
                                                  values(k: string, match?: Match): string[];
                                              }

                                              Hierarchy

                                              • Iterable<[string, string[]]>
                                                • MsgHdrs

                                              Implemented by

                                              Index

                                              Properties

                                              code description hasError status diff --git a/docs/core/interfaces/PublishOptions.html b/docs/core/interfaces/PublishOptions.html index a4bab817..90a642c4 100644 --- a/docs/core/interfaces/PublishOptions.html +++ b/docs/core/interfaces/PublishOptions.html @@ -1,4 +1,4 @@ -PublishOptions | @nats-io/nats-core
                                              @nats-io/nats-core
                                                Preparing search index...

                                                Interface PublishOptions

                                                interface PublishOptions {
                                                    headers?: MsgHdrs;
                                                    reply?: string;
                                                    traceDestination?: string;
                                                    traceOnly?: boolean;
                                                }

                                                Hierarchy

                                                • TraceOptions
                                                  • PublishOptions
                                                Index

                                                Properties

                                                headers? +PublishOptions | @nats-io/nats-core
                                                @nats-io/nats-core
                                                  Preparing search index...

                                                  Interface PublishOptions

                                                  interface PublishOptions {
                                                      headers?: MsgHdrs;
                                                      reply?: string;
                                                      traceDestination?: string;
                                                      traceOnly?: boolean;
                                                  }

                                                  Hierarchy

                                                  • TraceOptions
                                                    • PublishOptions
                                                  Index

                                                  Properties

                                                  headers? reply? traceDestination? traceOnly? diff --git a/docs/core/interfaces/RequestManyOptions.html b/docs/core/interfaces/RequestManyOptions.html index d61b08a3..141447eb 100644 --- a/docs/core/interfaces/RequestManyOptions.html +++ b/docs/core/interfaces/RequestManyOptions.html @@ -1,4 +1,4 @@ -RequestManyOptions | @nats-io/nats-core
                                                  @nats-io/nats-core
                                                    Preparing search index...

                                                    Interface RequestManyOptions

                                                    interface RequestManyOptions {
                                                        headers?: MsgHdrs;
                                                        maxMessages?: number;
                                                        maxWait: number;
                                                        noMux?: boolean;
                                                        stall?: number;
                                                        strategy: RequestStrategy;
                                                        traceDestination?: string;
                                                        traceOnly?: boolean;
                                                    }

                                                    Hierarchy

                                                    • TraceOptions
                                                      • RequestManyOptions
                                                    Index

                                                    Properties

                                                    headers? +RequestManyOptions | @nats-io/nats-core
                                                    @nats-io/nats-core
                                                      Preparing search index...

                                                      Interface RequestManyOptions

                                                      interface RequestManyOptions {
                                                          headers?: MsgHdrs;
                                                          maxMessages?: number;
                                                          maxWait: number;
                                                          noMux?: boolean;
                                                          stall?: number;
                                                          strategy: RequestStrategy;
                                                          traceDestination?: string;
                                                          traceOnly?: boolean;
                                                      }

                                                      Hierarchy

                                                      • TraceOptions
                                                        • RequestManyOptions
                                                      Index

                                                      Properties

                                                      headers? maxMessages? maxWait noMux? diff --git a/docs/core/interfaces/RequestOptions.html b/docs/core/interfaces/RequestOptions.html index 5f1bf3cc..e571c38f 100644 --- a/docs/core/interfaces/RequestOptions.html +++ b/docs/core/interfaces/RequestOptions.html @@ -1,4 +1,4 @@ -RequestOptions | @nats-io/nats-core
                                                      @nats-io/nats-core
                                                        Preparing search index...

                                                        Interface RequestOptions

                                                        interface RequestOptions {
                                                            headers?: MsgHdrs;
                                                            noMux?: boolean;
                                                            reply?: string;
                                                            timeout: number;
                                                            traceDestination?: string;
                                                            traceOnly?: boolean;
                                                        }

                                                        Hierarchy

                                                        • TraceOptions
                                                          • RequestOptions
                                                        Index

                                                        Properties

                                                        headers? +RequestOptions | @nats-io/nats-core
                                                        @nats-io/nats-core
                                                          Preparing search index...

                                                          Interface RequestOptions

                                                          interface RequestOptions {
                                                              headers?: MsgHdrs;
                                                              noMux?: boolean;
                                                              reply?: string;
                                                              timeout: number;
                                                              traceDestination?: string;
                                                              traceOnly?: boolean;
                                                          }

                                                          Hierarchy

                                                          • TraceOptions
                                                            • RequestOptions
                                                          Index

                                                          Properties

                                                          headers? noMux? reply? timeout diff --git a/docs/core/interfaces/Subscription.html b/docs/core/interfaces/Subscription.html index 6dd21fdc..a9cb28f9 100644 --- a/docs/core/interfaces/Subscription.html +++ b/docs/core/interfaces/Subscription.html @@ -1,5 +1,5 @@ Subscription | @nats-io/nats-core
                                                          @nats-io/nats-core
                                                            Preparing search index...

                                                            Interface Subscription

                                                            Basic interface to a Subscription type

                                                            -
                                                            interface Subscription {
                                                                closed: Promise<void | Error>;
                                                                "[asyncIterator]"(): AsyncIterator<Msg, any, any>;
                                                                drain(): Promise<void>;
                                                                getMax(): number;
                                                                getPending(): number;
                                                                getProcessed(): number;
                                                                getReceived(): number;
                                                                getSubject(): string;
                                                                isClosed(): boolean;
                                                                isDraining(): boolean;
                                                                unsubscribe(max?: number): void;
                                                            }

                                                            Hierarchy

                                                            • AsyncIterable<Msg>
                                                              • Subscription
                                                            Index

                                                            Properties

                                                            interface Subscription {
                                                                closed: Promise<void | Error>;
                                                                "[asyncIterator]"(): AsyncIterator<Msg, any, any>;
                                                                drain(): Promise<void>;
                                                                getMax(): number;
                                                                getPending(): number;
                                                                getProcessed(): number;
                                                                getReceived(): number;
                                                                getSubject(): string;
                                                                isClosed(): boolean;
                                                                isDraining(): boolean;
                                                                unsubscribe(max?: number): void;
                                                            }

                                                            Hierarchy

                                                            • AsyncIterable<Msg>
                                                              • Subscription
                                                            Index

                                                            Properties

                                                            Methods

                                                            [asyncIterator] drain getMax diff --git a/docs/core/interfaces/Timeout.html b/docs/core/interfaces/Timeout.html index 29ce3aca..bf14b5d6 100644 --- a/docs/core/interfaces/Timeout.html +++ b/docs/core/interfaces/Timeout.html @@ -1,4 +1,4 @@ -Timeout | @nats-io/nats-core
                                                            @nats-io/nats-core
                                                              Preparing search index...

                                                              Interface Timeout<T>

                                                              interface Timeout<T> {
                                                                  "[toStringTag]": string;
                                                                  cancel: () => void;
                                                                  catch<TResult = never>(
                                                                      onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                                                  ): Promise<T | TResult>;
                                                                  finally(onfinally?: () => void): Promise<T>;
                                                                  then<TResult1 = T, TResult2 = never>(
                                                                      onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
                                                                      onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                                                  ): Promise<TResult1 | TResult2>;
                                                              }

                                                              Type Parameters

                                                              • T

                                                              Hierarchy

                                                              • Promise<T>
                                                                • Timeout
                                                              Index

                                                              Properties

                                                              [toStringTag] +Timeout | @nats-io/nats-core
                                                              @nats-io/nats-core
                                                                Preparing search index...

                                                                Interface Timeout<T>

                                                                interface Timeout<T> {
                                                                    "[toStringTag]": string;
                                                                    cancel: () => void;
                                                                    catch<TResult = never>(
                                                                        onrejected?: (reason: any) => TResult | PromiseLike<TResult>,
                                                                    ): Promise<T | TResult>;
                                                                    finally(onfinally?: () => void): Promise<T>;
                                                                    then<TResult1 = T, TResult2 = never>(
                                                                        onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
                                                                        onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
                                                                    ): Promise<TResult1 | TResult2>;
                                                                }

                                                                Type Parameters

                                                                • T

                                                                Hierarchy

                                                                • Promise<T>
                                                                  • Timeout
                                                                Index

                                                                Properties

                                                                Methods

                                                                catch finally diff --git a/docs/core/interfaces/WsConnectionOptions.html b/docs/core/interfaces/WsConnectionOptions.html new file mode 100644 index 00000000..89f7a103 --- /dev/null +++ b/docs/core/interfaces/WsConnectionOptions.html @@ -0,0 +1,125 @@ +WsConnectionOptions | @nats-io/nats-core
                                                                @nats-io/nats-core
                                                                  Preparing search index...

                                                                  Interface WsConnectionOptions

                                                                  WsConnectionOptions exposes wsconnect specific options not applicable to +other transports.

                                                                  +
                                                                  interface WsConnectionOptions {
                                                                      authenticator?: Authenticator | Authenticator[];
                                                                      debug?: boolean;
                                                                      ignoreAuthErrorAbort?: boolean;
                                                                      ignoreClusterUpdates?: boolean;
                                                                      inboxPrefix?: string;
                                                                      maxPingOut?: number;
                                                                      maxReconnectAttempts?: number;
                                                                      name?: string;
                                                                      noAsyncTraces?: boolean;
                                                                      noEcho?: boolean;
                                                                      noRandomize?: boolean;
                                                                      pass?: string;
                                                                      pedantic?: boolean;
                                                                      pingInterval?: number;
                                                                      port?: number;
                                                                      reconnect?: boolean;
                                                                      reconnectDelayHandler?: () => number;
                                                                      reconnectJitter?: number;
                                                                      reconnectJitterTLS?: number;
                                                                      reconnectTimeWait?: number;
                                                                      resolve?: boolean;
                                                                      servers?: string | string[];
                                                                      timeout?: number;
                                                                      tls?: TlsOptions;
                                                                      token?: string;
                                                                      user?: string;
                                                                      verbose?: boolean;
                                                                      waitOnFirstConnect?: boolean;
                                                                      wsFactory?: WsSocketFactory;
                                                                  }

                                                                  Hierarchy (View Summary)

                                                                  Index

                                                                  Properties

                                                                  authenticator?: Authenticator | Authenticator[]

                                                                  When the server requires authentication, set an Authenticator. +An authenticator is created automatically for username/password and token +authentication configurations +if user and pass or the token options are set.

                                                                  +
                                                                  debug?: boolean

                                                                  When set to true the client will print protocol messages that it receives +or sends to the server.

                                                                  +
                                                                  ignoreAuthErrorAbort?: boolean

                                                                  By default, NATS clients will abort reconnect if they fail authentication +twice in a row with the same error, regardless of the reconnect policy. +This option should be used with care as it will disable this behaviour when true

                                                                  +
                                                                  ignoreClusterUpdates?: boolean

                                                                  When set to true, cluster information gossiped by the nats-server will +not augment the lists of server(s) known by the client.

                                                                  +
                                                                  inboxPrefix?: string

                                                                  A string prefix (must be a valid subject prefix) prepended to inboxes +generated by client. This allows a client with limited subject permissions +to specify a subject where requests can deliver responses.

                                                                  +
                                                                  maxPingOut?: number

                                                                  Sets the maximum count of ping commands that can be awaiting a response +before raising a stale connection status StaleConnectionStatus +notification NatsConnection#status and initiating a reconnect.

                                                                  +

                                                                  pingInterval

                                                                  +
                                                                  maxReconnectAttempts?: number

                                                                  Sets the maximum count of per-server reconnect attempts before giving up. +Set to -1 to never give up.

                                                                  +
                                                                  10
                                                                  +
                                                                  + +
                                                                  name?: string

                                                                  Sets the client name. When set, the server monitoring pages will display +this name when referring to this client.

                                                                  +
                                                                  noAsyncTraces?: boolean

                                                                  When true, the client will not augment timeout and other error traces with +additional context as to where the operation was started.

                                                                  +
                                                                  noEcho?: boolean

                                                                  When set to true, messages published by this client will not match +this client's subscriptions, so the client is guaranteed to never +receive self-published messages on a subject that it is listening on.

                                                                  +
                                                                  noRandomize?: boolean

                                                                  If set to true, the client will not randomize its server connection list.

                                                                  +
                                                                  pass?: string

                                                                  Sets the password for a client connection. Requires that the user +option be set. See authenticator.

                                                                  +
                                                                  pedantic?: boolean

                                                                  When set to true, the server may perform additional checks on protocol +message requests. This option is only useful for NATS client development +and shouldn't be used, as it affects server performance.

                                                                  +
                                                                  pingInterval?: number

                                                                  Sets the number of milliseconds between client initiated ping commands. +See maxPingOut.

                                                                  +
                                                                  2 minutes.
                                                                  +
                                                                  + +
                                                                  port?: number

                                                                  Sets the port number on the localhost (127.0.0.1) where the nats-server is running. +This option is mutually exclusive with servers.

                                                                  +
                                                                  reconnect?: boolean

                                                                  When set to true, the server will attempt to reconnect so long as +maxReconnectAttempts doesn't prevent it.

                                                                  +
                                                                  true
                                                                  +
                                                                  + +
                                                                  reconnectDelayHandler?: () => number

                                                                  Set a function that dynamically determines the number of milliseconds +that the client should wait for the next reconnect attempt.

                                                                  +
                                                                  reconnectJitter?: number

                                                                  Set the upper bound for a random delay in milliseconds added to +reconnectTimeWait.

                                                                  +
                                                                  100 millis
                                                                  +
                                                                  + +
                                                                  reconnectJitterTLS?: number

                                                                  Set the upper bound for a random delay in milliseconds added to +reconnectTimeWait. This only affects TLS connections

                                                                  +
                                                                  1000 millis
                                                                  +
                                                                  + +
                                                                  reconnectTimeWait?: number

                                                                  Set the number of millisecods between reconnect attempts.

                                                                  +
                                                                  2000 millis
                                                                  +
                                                                  + +
                                                                  resolve?: boolean

                                                                  When false, the connect function will not perform any hostname resolution. Note that +by default this option will be true if the client supports hostname resolution. +Note that on clients that don't supported (mainly the websocket client, setting this +option to true, will throw an exception as this option is not available.

                                                                  +
                                                                  servers?: string | string[]

                                                                  Set the hostport(s) where the client should attempt to connect. +This option is mutually exclusive with port.

                                                                  +
                                                                  127.0.0.1:4222
                                                                  +
                                                                  + +
                                                                  timeout?: number

                                                                  Sets the number of milliseconds the client should wait for a server +handshake to be established.

                                                                  +
                                                                  20000 millis
                                                                  +
                                                                  + +

                                                                  When set (can be an empty object), the client requires a secure connection. +TlsOptions honored depend on the runtime. Consult the specific NATS javascript +client GitHub repo/documentation. When set to null, the client should fail +should not connect using TLS. In the case where TLS is available on the server +a standard connection will be used. If TLS is required, the connection will fail.

                                                                  +
                                                                  token?: string

                                                                  Set to a client authentication token. Note that these tokens are +a specific authentication strategy on the nats-server. This option +is mutually exclusive of user and pass. See authenticator.

                                                                  +
                                                                  user?: string

                                                                  Sets the username for a client connection. Requires that the pass +option be set. See authenticator.

                                                                  +
                                                                  verbose?: boolean

                                                                  When set to true, the server will send response to all server commands. +This option is only useful for NATS client development and shouldn't +be used, as it affects server performance.

                                                                  +
                                                                  waitOnFirstConnect?: boolean

                                                                  When set to true maxReconnectAttempts will not trigger until the client +has established one connection.

                                                                  +
                                                                  wsFactory?: WsSocketFactory
                                                                  diff --git a/docs/core/modules.html b/docs/core/modules.html index 06bdcec1..124734e0 100644 --- a/docs/core/modules.html +++ b/docs/core/modules.html @@ -1 +1 @@ -@nats-io/nats-core
                                                                  @nats-io/nats-core
                                                                    Preparing search index...
                                                                    +@nats-io/nats-core
                                                                    @nats-io/nats-core
                                                                      Preparing search index...
                                                                      diff --git a/docs/core/types/WsSocketFactory.html b/docs/core/types/WsSocketFactory.html new file mode 100644 index 00000000..a365b815 --- /dev/null +++ b/docs/core/types/WsSocketFactory.html @@ -0,0 +1,8 @@ +WsSocketFactory | @nats-io/nats-core
                                                                      @nats-io/nats-core
                                                                        Preparing search index...

                                                                        Type Alias WsSocketFactory

                                                                        WsSocketFactory: (
                                                                            u: string,
                                                                            opts: ConnectionOptions,
                                                                        ) => Promise<{ encrypted: boolean; socket: WebSocket }>

                                                                        WsSocketFactory is a factory that returns a WebSocket and a boolean +indicating if the connection is encrypted. Client code is responsible +for creating a W3C WebSocket compliant transport.

                                                                        +

                                                                        Type declaration

                                                                          • (
                                                                                u: string,
                                                                                opts: ConnectionOptions,
                                                                            ): Promise<{ encrypted: boolean; socket: WebSocket }>
                                                                          • Parameters

                                                                            Returns Promise<{ encrypted: boolean; socket: WebSocket }>

                                                                            a promise that resolves to a WebSocket and a boolean indicating if +the connection is encrypted

                                                                            +
                                                                        diff --git a/docs/jetstream/assets/hierarchy.js b/docs/jetstream/assets/hierarchy.js index 88636f05..fb85f0ad 100644 --- a/docs/jetstream/assets/hierarchy.js +++ b/docs/jetstream/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzwMKVNfWAgCbHgqm" \ No newline at end of file +window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg==" \ No newline at end of file diff --git a/docs/jetstream/assets/navigation.js b/docs/jetstream/assets/navigation.js index 3f3ac06a..130ea684 100644 --- a/docs/jetstream/assets/navigation.js +++ b/docs/jetstream/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJydmktz2zYQx7+LzpmmcfrMzY+4dRvZGtk5dXqgSEhCTJEMALrWdPLdCz4kAtxd7rIne/Bf/AQC2OViwb/+XTj16hYfFn8o9+iMSg6Xlf5oTGkWbxZV4vZeSvPEWmXfApPv9u6Qe7tnXWSLD+8ufvn2BvI4GEu63JTGPRRLba0udmtly9qkaiC6Y+V5uFXMvfj+15/f/XgRstO0rAv3SR+0swAZijzpeVXmOj1CSi+whOxF29JAQN8u7f9noxOMRmM5YAP0DHTV0f6rZKfgGPp2af+1+lor6yhML3O0q8Sl++skzzdJ+jxmRSJLQub1SjCfV34TZava7q/LwtYHZR4qp/2/gEXYcfzrvLTAHdpGUU/wTF0r37e2Tpm7YltCwFliKeWhylXzmN5j6xws9ljnee3UXR2dAvMbakIOtW9GspC2VNb6nUsN7CQLacQuilUhC/j6qV3a/3J1RyG8JKWc5vO2oGCDhZhZFlu9I3mtKmb595VjJj42kpJvlN/liCvGspSGOmWgSTnYmyTUpBxm45uZO9/cl+62CZYU76TP4OmtTpNmySaYZxspd6WLgl7UTpWyyMkTz9rnopocz0kX86rMb/Rp/wptOO6N2tQA1DbyPRv3SDa5ouIZtBAw9YtfJDSni0Qh6Yh5ZajxHOtMeWweAmLOEkvRRqWuTXzwrBcYzCASoRFazGA+usS4R/V1AnoymUt90gc4lYiNjPspsT7swK0XijLS0u5+V0mGOP1YF/OIZHqsy3j9KRC+80cyT7NpYkBA6puFvQkPDUWO9PE1VSpTGe4QscqzKj8JCKRtFvT2x1iVUXFsrPM8n4gXSd4tCaSFKse6Vd4n0Mx6UEQMKh2IRBGJiDehxnLy8h8/mz585gAzS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8=" \ No newline at end of file +window.navigationData = "eJydmk1z2zYQhv+Lzpmm+Wja5iY7ceM2ijW2Mz10eoDIlYSYAhgAdK128t87pCgR4GK5q5w0g3f3IQRigcWCf/03C/AUZm9nv0O4Cw7Ubl7r985ZN3s2q1XYzt7Oikp5D/45MvlhG3bV7NnsQZty9vbFy1++PcM8DsaS5ivrwo1ZaO+12dyCt40rYCCGfQ3+ed4q5b788defX/z0MmYXhW1M+Kh3OniEjEWe9LC0lS72mNILLKF81N46DOjbpf5/tDrBaDWWgyZAz8i+9az/Um0A96Fvl/rfwtcGfKAwvczRLlQotmNG1yjynBcPWed58SDyv1RVtVIE5CiKSAvwXm3gpg7aGjRXMybfQf1Th+0t1BWag1O27HMy8/FCMA8vbGPKZeO3l9b4ZgeO+uuEHce/rKxHy0jXKPJE/+nQyvs2PoC7NmuLASeJpdhdXUH7N2/BNxUKkrHO87qhu9gHQOMba0IONetHspDWzzuqY0dZSCNmUaoKWWiNPLZL/efLawoxX15LKcfxvDIUbLAQM61Z6w3J61Qxy4EKzMCnRlLyO6ggZEIxlaW0bFBGmpST24FjTcphJr47c+a7TzZctYslxTvqZ/D0WheqfWUTzJONlLvUxtAv9aBKWeTgiUfts6kn+3PUxby6VAGm4yu24bjvYNUgUNfIe7bhoVYVUOsZthAw9SO4fC6ciELSPheVscZzfHB23/4JjDlJLEU7KEKXB+VPC8jgDCKxNGKLM5h3QblwB18noEeTc6n3eoeHMmMj435UPlzh40YiykgLv/kAqswE/VgX84hDyFiX8frTM97zRzJP84VyaEHqm4XeRITGIkd6/1QAlFDmAyJVeVatHd7q+maBt3UBSmodG+s8L4Azqjq8EkyLVY51BaHYZjPrQRExqHQgEUUkYr2JNZZT2X8urQnOVggzSBzlAygXVqBQgJ0EMcG3pR+8S491jnddVkD2KhFZklnbqb11rHO8ofx2qEvdBYWDLmskJ9f60pZ4hiGDc4hMP3sDMfGy0mDQmxnJYtpCGbXB72asn8sjAowwE9M57Lm8ZbOqtKeWA8JMTP/cLkgktFPPY01WaydM2ad4Im04CTxh4VEO3jVynn2CQ6cayIAl6raKhDBdK+trfT+K71RQiJGoHGuhnrK73rFd4E/teJHEUvzmcIghhnesC3g0Scj41P6MvNs2iR/9/FSVsIi4jySWYm/B19bkgifWOM6NK8EN6RnRsbzVmexbKLpKE8oUKDshX1Cppi3ZZzyCW1f2n4U27X0SmFIbtN5kjc4g89jvZs5NeegVDz+ZSp9CDXYqc7Ql5Ot/x3be33ntw8KWaMuLJJZSqQJ2mfzmJLAEp63TQf8LJTEw2ELI3P/mbFNTvF6VsvLHz1RlWc0qM6UOrQJfYtMfFJ5RVdQgDxJPcRu42GdKNYMiZTSrL1DgyZOoItZNjTOskyAiHBZ/fMOWiCLSvdM7sj9HkScNiy4GDdo5HPLdn72+txepioiJWBNwDrl6BnIQxAQiOsY6z/OAJmTXyHsGMO3oUcOSyBztrthC2VTULdRIZmnwlU7EElFAasAUkNt7Yo3lHIuuE/3CJjzVOrWB+32N4jiSJBRor6QdeJ+5KxrrIl6ZOXGdBJ6Qq+vJ6nl93aLqaoAhMy6JLKThmrC4GtzXPbL3SbEm5nQLV/6QnbORcd8/1VAElQ8+ZCFjZmPmpMgZfTBQSwNhJ+N/Ujt8fo0kIYW4uU1VGYvojbAnd9mv72LtHA79BgddyAtkLHaSjDJ1N4stWOYh4bp3yvi1dVSMZq14dlGAx+/y0Mx5328d+K2tymyFJlXFLKpagww4YuZbykfldFssJ7+nfJUAsp9CRgzyc8gEQ9xlD5yJ++wURF5PRqzJK8oRLnuDF7PIW7wENFH4H2BM8T8F4kpqBMpXUxNA9hg9IMijdAohzpgRZ+KcmaIyx8QIQxwVE0Q+tx8gdH4/xhCJeYKaSM5HOCK7jmkTGfardPHMpIkDiEwVESSfJaYkOlNMcNq3Z3B85Fs3puj27+epRYp683qEyp0eUxR1hkxQXyD4Ue45UE6iBIBurjKc7O3Vm9ff/v4f6VEmjQ==" \ No newline at end of file diff --git a/docs/jetstream/assets/search.js b/docs/jetstream/assets/search.js index 4d8ff976..72f17236 100644 --- a/docs/jetstream/assets/search.js +++ b/docs/jetstream/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1nVuT4zaS779L12uHR7hQF795POOzPjue8bG9uw8Oh0JdxeqmrZJkXdzdMzHf/RAASSUSf4BJqfbF7hLBzCSYuOUvAf7rzXH/8fTmy5//9ea3Zvf05kull2/f7DYv9Zsv3/zf+vzj+VhvXr46NH89HvfHN2/fXI7b9srjdnM61ac/JSW++HB+2bbFugJt0Tf/ftvLrpQeZD/ud6fz8fJ4Fkt9iG8hGt6+OWyO9e4MTb6q13OtrCUWPNVy1b7s3TpP5835cpJqHUrfoHdmr+9xM+31PbTl6678dM3QgUbU/y+4zq1+k1bkaqGqq/Kv3u2P53/svmtOp2b3/of6tL8cH69+dP58aK3AhYoPqGb66iYbd/96v1u/BAnr42Q9DyUZuA4yj1aoi8fH/WV3/lvz0pxP3DR6Tf7kL5tP683jb+tDvXtqjRgV+pDekHm4yNaC9nefz/WprazfL82xfpIZkNxzpw3OYy8v9XG8Uh948Ts1v9Qv++Nnmdqh7J06T23D3LxPfBsrvRa+W6tr7sIavha+R6uvr/VVXvAbgQXZG++wpqvIG8wp3DnNnrQ/+e37/bZ5TP2v+73YjyTSnv5oTsCZu5/lfdLT5rwpCXnoCmQevjcjI93/VJLeFRBLz9XDf+YVuUvT6pbPKDp5kllg9PTRJAwIKc+80PQjenP16fHYHM7NfldUEpe7TVc7Y1qPPg0pJNYC6v77tvkl77L7WV73W9ceS1Ie+hJZW4MhGfn75+dTXVYwFLlNw3l/3myLCvoSYvm52v6hHdzrU+5puqvyui/WDZUmraLevvyT/Hlzfvzw9Wa7fdfOl5jm6NqknuDPaa/y57HeJKqJdwUBD+9KfZ9XXbCsHXOevr+cPnzdTY/+4Rs4H+ByxSbVwtfb/Ym3fP/biBSySHssinjoL+OqCPpLknkdc9H5ak5lg2eH4id4Qd7GJ7mRJW/4ens5nevjt7vnfaJluDKh76w3TzUf/rikh6FUzuirTRk9/n8j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BsbS9CU/bPR0f4wqnk7DhQBnhGjETaaOnfRvhWqk/1QI4Gu2FhRll8DwLE42vwgX6ICnTnmiPYoRha5e0f4lfJREiFJHmh1Aep4Vzuk5OOVEh2gEwRWy7dGOeQacPYT7iyI2sbx+GfXQmLF3yGz3sUZH6cSv5iSVqa5rzb4TJoelWF5piuural9I9B171aNcOZwGqviuVurp/a5xC00MphevQThJf9dFh2AhRYL89Jz1nlI4awh3bnbD+HPp4dUtbjhB3wjNaNN2LYKR9fNg0kxzHpylmM+KephMWDrhMz4+ltM0Ig89BaDLM0gmIEQadr6K6fhCtAWk41gg3MAbB+RM9aRzECs916zbeJDkLi+j8cOH8ot/Ek3BtTZfkZtGPnkJMGORmDsuksRYrPJUApvrRHa59sonqN/Hp2bCJf0g2maQLpYDT7BIlzFfqxCWft9H0gytGyJipsGSNQtNFV9LB9iovbUq0VQoDuZ3AM+/N6AmcRhjM7DZDZQ4G1TS1ygpXiUHkx+N+9z63O8HQeaMVgpdWLkcUtPa0HlKghO85XeEp2gHp/sM6pv8igu2z8irhYSadivX5uNm5cxKiod3QLEIrnSFwiayDoiNHf5KtkToqzIWga95ZXxHCfUedxMHY1MMMBZhWmEFwujy2ixm2mqEeZfodtsKD4s6b94w3UKwqhPztBCPepUyPuNLC8JkT0uw4fDf0bB0rxJ7DFvx0Tm5UtENGaNogDyUSG3pKnRU2wUEksJASeGE+5iAOG0hXgsK9jsmhhnQGoPv4mZHal4IyRaMNarXsB1ZZ7+0EtuPAyyG2kYbk+oPujFn2nZisNxhk7za7PdvGQncA9GeOauGmh/P+zE/+ooH/boohnEfEnRUd7aWNlq0x6YatPizVB9T6M61U3w2qPjiubP9L1f8yH47A7i8NeeJ9YV0N+bx9yG4YcoTpEf6E8ChcTN698MCLMPhHQsj77Z/DCGMnH/fuoP54mKYTEy2MNDk57cThwpKjafaHZFv2L2/fHJpD7bPgvvz5l3//+/8DPhXvXQ=="; \ No newline at end of file +window.searchData = "eJy1nduS4zayrt+l6rbCI5x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YOjie+lZ75yeDG1t3hg+oTIPCb8Pb4ccm8yvfPUF+E7btZ9/v9F1/qiNx3R3xAtZH8Pap8IQPQmIPpUW6IPbRf9zQLyev1g95PsryhUw4zEjDKx9+cEEMtrDmYHdOuwQIg3NA8pw5jm8rFsr7IiKyZ/gcP8NK2c3y95eGxf+wcdDcev/+vTw7k45zbq+st3v/773/8f7kWRjg=="; \ No newline at end of file diff --git a/docs/jetstream/classes/JetStreamApiError.html b/docs/jetstream/classes/JetStreamApiError.html index 0f2af294..b751d22b 100644 --- a/docs/jetstream/classes/JetStreamApiError.html +++ b/docs/jetstream/classes/JetStreamApiError.html @@ -1,15 +1,36 @@ -JetStreamApiError | @nats-io/jetstream
                                                                        @nats-io/jetstream
                                                                          Preparing search index...

                                                                          Class JetStreamApiError

                                                                          Hierarchy

                                                                          • Error
                                                                            • JetStreamApiError
                                                                          Index

                                                                          Constructors

                                                                          constructor +JetStreamApiError | @nats-io/jetstream
                                                                          @nats-io/jetstream
                                                                            Preparing search index...

                                                                            Class JetStreamApiError

                                                                            Hierarchy

                                                                            • Error
                                                                              • JetStreamApiError
                                                                            Index

                                                                            Constructors

                                                                            Properties

                                                                            cause?: unknown
                                                                            message: string
                                                                            name: string
                                                                            stack?: string
                                                                            prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                                                                            Optional override for formatting stack traces

                                                                            -
                                                                            stackTraceLimit: number

                                                                            Accessors

                                                                            • get code(): number

                                                                              Returns number

                                                                            • get status(): number

                                                                              Returns number

                                                                            Methods

                                                                            • Returns ApiError

                                                                            • Create .stack property on a target object

                                                                              -

                                                                              Parameters

                                                                              • targetObject: object
                                                                              • OptionalconstructorOpt: Function

                                                                              Returns void

                                                                            +prepareStackTrace +

                                                                            Constructors

                                                                            Properties

                                                                            cause?: unknown
                                                                            message: string
                                                                            name: string
                                                                            stack?: string
                                                                            stackTraceLimit: number

                                                                            The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                                                                            +

                                                                            The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                                                                            +

                                                                            If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                                                                            +

                                                                            Accessors

                                                                            • get code(): number

                                                                              Returns number

                                                                            • get status(): number

                                                                              Returns number

                                                                            Methods

                                                                            • Returns ApiError

                                                                            • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                                                                              +
                                                                              const myObject = {};
                                                                              Error.captureStackTrace(myObject);
                                                                              myObject.stack; // Similar to `new Error().stack` +
                                                                              + +

                                                                              The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                                                                              +

                                                                              The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                                                                              +

                                                                              The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                                                                              +
                                                                              function a() {
                                                                              b();
                                                                              }

                                                                              function b() {
                                                                              c();
                                                                              }

                                                                              function c() {
                                                                              // Create an error without stack trace to avoid calculating the stack trace twice.
                                                                              const { stackTraceLimit } = Error;
                                                                              Error.stackTraceLimit = 0;
                                                                              const error = new Error();
                                                                              Error.stackTraceLimit = stackTraceLimit;

                                                                              // Capture the stack trace above function b
                                                                              Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                                                                              throw error;
                                                                              }

                                                                              a(); +
                                                                              + +

                                                                              Parameters

                                                                              • targetObject: object
                                                                              • OptionalconstructorOpt: Function

                                                                              Returns void

                                                                            diff --git a/docs/jetstream/classes/JetStreamError.html b/docs/jetstream/classes/JetStreamError.html index f41de76c..a8709a4d 100644 --- a/docs/jetstream/classes/JetStreamError.html +++ b/docs/jetstream/classes/JetStreamError.html @@ -1,12 +1,33 @@ -JetStreamError | @nats-io/jetstream
                                                                            @nats-io/jetstream
                                                                              Preparing search index...

                                                                              Class JetStreamError

                                                                              Hierarchy

                                                                              • Error
                                                                                • JetStreamError
                                                                              Index

                                                                              Constructors

                                                                              constructor +JetStreamError | @nats-io/jetstream
                                                                              @nats-io/jetstream
                                                                                Preparing search index...

                                                                                Class JetStreamError

                                                                                Hierarchy

                                                                                • Error
                                                                                  • JetStreamError
                                                                                Index

                                                                                Constructors

                                                                                • Parameters

                                                                                  • message: string
                                                                                  • Optionalopts: ErrorOptions

                                                                                  Returns JetStreamError

                                                                                Properties

                                                                                cause?: unknown
                                                                                message: string
                                                                                name: string
                                                                                stack?: string
                                                                                prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                                                                                Optional override for formatting stack traces

                                                                                -
                                                                                stackTraceLimit: number

                                                                                Methods

                                                                                • Create .stack property on a target object

                                                                                  -

                                                                                  Parameters

                                                                                  • targetObject: object
                                                                                  • OptionalconstructorOpt: Function

                                                                                  Returns void

                                                                                +prepareStackTrace +

                                                                                Constructors

                                                                                • Parameters

                                                                                  • message: string
                                                                                  • Optionalopts: ErrorOptions

                                                                                  Returns JetStreamError

                                                                                Properties

                                                                                cause?: unknown
                                                                                message: string
                                                                                name: string
                                                                                stack?: string
                                                                                stackTraceLimit: number

                                                                                The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                                                                                +

                                                                                The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                                                                                +

                                                                                If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                                                                                +

                                                                                Methods

                                                                                • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                                                                                  +
                                                                                  const myObject = {};
                                                                                  Error.captureStackTrace(myObject);
                                                                                  myObject.stack; // Similar to `new Error().stack` +
                                                                                  + +

                                                                                  The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                                                                                  +

                                                                                  The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                                                                                  +

                                                                                  The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                                                                                  +
                                                                                  function a() {
                                                                                  b();
                                                                                  }

                                                                                  function b() {
                                                                                  c();
                                                                                  }

                                                                                  function c() {
                                                                                  // Create an error without stack trace to avoid calculating the stack trace twice.
                                                                                  const { stackTraceLimit } = Error;
                                                                                  Error.stackTraceLimit = 0;
                                                                                  const error = new Error();
                                                                                  Error.stackTraceLimit = stackTraceLimit;

                                                                                  // Capture the stack trace above function b
                                                                                  Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                                                                                  throw error;
                                                                                  }

                                                                                  a(); +
                                                                                  + +

                                                                                  Parameters

                                                                                  • targetObject: object
                                                                                  • OptionalconstructorOpt: Function

                                                                                  Returns void

                                                                                diff --git a/docs/jetstream/functions/isPullConsumer.html b/docs/jetstream/functions/isPullConsumer.html index 50364c9a..e91f9fb5 100644 --- a/docs/jetstream/functions/isPullConsumer.html +++ b/docs/jetstream/functions/isPullConsumer.html @@ -1 +1 @@ -isPullConsumer | @nats-io/jetstream
                                                                                @nats-io/jetstream
                                                                                  Preparing search index...

                                                                                  Function isPullConsumer

                                                                                  +isPullConsumer | @nats-io/jetstream
                                                                                  @nats-io/jetstream
                                                                                    Preparing search index...

                                                                                    Function isPullConsumer

                                                                                    diff --git a/docs/jetstream/functions/isPushConsumer.html b/docs/jetstream/functions/isPushConsumer.html index 32591e07..a3113d3f 100644 --- a/docs/jetstream/functions/isPushConsumer.html +++ b/docs/jetstream/functions/isPushConsumer.html @@ -1 +1 @@ -isPushConsumer | @nats-io/jetstream
                                                                                    @nats-io/jetstream
                                                                                      Preparing search index...

                                                                                      Function isPushConsumer

                                                                                      +isPushConsumer | @nats-io/jetstream
                                                                                      @nats-io/jetstream
                                                                                        Preparing search index...

                                                                                        Function isPushConsumer

                                                                                        diff --git a/docs/jetstream/functions/jetstream.html b/docs/jetstream/functions/jetstream.html index beb3c328..49d1edf9 100644 --- a/docs/jetstream/functions/jetstream.html +++ b/docs/jetstream/functions/jetstream.html @@ -1,2 +1,2 @@ jetstream | @nats-io/jetstream
                                                                                        @nats-io/jetstream
                                                                                          Preparing search index...

                                                                                          Function jetstream

                                                                                          +

                                                                                          Parameters

                                                                                          Returns JetStreamClient

                                                                                          diff --git a/docs/jetstream/functions/jetstreamManager.html b/docs/jetstream/functions/jetstreamManager.html index 97090bb5..cc0cf28c 100644 --- a/docs/jetstream/functions/jetstreamManager.html +++ b/docs/jetstream/functions/jetstreamManager.html @@ -1,2 +1,2 @@ jetstreamManager | @nats-io/jetstream
                                                                                          @nats-io/jetstream
                                                                                            Preparing search index...

                                                                                            Function jetstreamManager

                                                                                            +

                                                                                            Parameters

                                                                                            Returns Promise<JetStreamManager>

                                                                                            diff --git a/docs/jetstream/index.html b/docs/jetstream/index.html index ce33860a..526666c8 100644 --- a/docs/jetstream/index.html +++ b/docs/jetstream/index.html @@ -1,5 +1,5 @@ @nats-io/jetstream
                                                                                            @nats-io/jetstream
                                                                                              Preparing search index...

                                                                                              @nats-io/jetstream

                                                                                              License -jetstream +jetstream JSDoc

                                                                                              JSR JSR

                                                                                              diff --git a/docs/jetstream/media/README-1.md b/docs/jetstream/media/README-1.md index 9d1f1a14..84759314 100644 --- a/docs/jetstream/media/README-1.md +++ b/docs/jetstream/media/README-1.md @@ -1,5 +1,5 @@ [![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](./LICENSE) -![jetstream](https://github.com/nats-io/nats.js/actions/workflows/obj.yml/badge.svg) +![obj](https://github.com/nats-io/nats.js/actions/workflows/test.yml/badge.svg) [![JSDoc](https://img.shields.io/badge/JSDoc-reference-blue)](https://nats-io.github.io/nats.js/obj/index.html) [![JSR](https://jsr.io/badges/@nats-io/obj)](https://jsr.io/@nats-io/obj) diff --git a/docs/jetstream/media/README.md b/docs/jetstream/media/README.md index 7a762303..ce359920 100644 --- a/docs/jetstream/media/README.md +++ b/docs/jetstream/media/README.md @@ -1,5 +1,5 @@ [![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](./LICENSE) -![jetstream](https://github.com/nats-io/nats.js/actions/workflows/kv.yml/badge.svg) +![kv](https://github.com/nats-io/nats.js/actions/workflows/test.yml/badge.svg) [![JSDoc](https://img.shields.io/badge/JSDoc-reference-blue)](https://nats-io.github.io/nats.js/kv/index.html) [![JSR](https://jsr.io/badges/@nats-io/kv)](https://jsr.io/@nats-io/kv) @@ -128,7 +128,7 @@ const watch = await kv.watch(); })().then(); // update the entry -await kv.put("hello.world", sc.encode("world")); +await kv.put("hello.world", "world"); // retrieve the KvEntry storing the value // returns null if the value is not found const e = await kv.get("hello.world"); diff --git a/docs/jetstream/modules.html b/docs/jetstream/modules.html index ad78f81a..74daef09 100644 --- a/docs/jetstream/modules.html +++ b/docs/jetstream/modules.html @@ -1 +1 @@ -@nats-io/jetstream
                                                                                              @nats-io/jetstream
                                                                                                Preparing search index...

                                                                                                  @nats-io/jetstream

                                                                                                  Classes

                                                                                                  JetStreamApiError
                                                                                                  JetStreamError

                                                                                                  Type Aliases

                                                                                                  AbortOnMissingResource
                                                                                                  AccountLimits
                                                                                                  AckPolicy
                                                                                                  Advisory
                                                                                                  AdvisoryKind
                                                                                                  ApiError
                                                                                                  ApiPaged
                                                                                                  ApiPagedRequest
                                                                                                  BatchCallback
                                                                                                  Bind
                                                                                                  BoundPushConsumerOptions
                                                                                                  Close
                                                                                                  Closed
                                                                                                  ClusterInfo
                                                                                                  CompletionResult
                                                                                                  ConsumeBytes
                                                                                                  ConsumeCallback
                                                                                                  ConsumeMessages
                                                                                                  ConsumeOptions
                                                                                                  Consumer
                                                                                                  ConsumerAPI
                                                                                                  ConsumerCallbackFn
                                                                                                  ConsumerConfig
                                                                                                  ConsumerCreateOptions
                                                                                                  ConsumerDeleted
                                                                                                  ConsumerInfo
                                                                                                  ConsumerKind
                                                                                                  ConsumerMessages
                                                                                                  ConsumerNotFound
                                                                                                  ConsumerNotification
                                                                                                  ConsumerPinned
                                                                                                  Consumers
                                                                                                  ConsumerUnpinned
                                                                                                  ConsumerUpdateConfig
                                                                                                  Debug
                                                                                                  DeleteableConsumer
                                                                                                  DeliverPolicy
                                                                                                  DeliveryInfo
                                                                                                  Destroyable
                                                                                                  DirectBatchLimits
                                                                                                  DirectBatchOptions
                                                                                                  DirectBatchStartSeq
                                                                                                  DirectBatchStartTime
                                                                                                  DirectLastFor
                                                                                                  DirectMsgHeaders
                                                                                                  DirectMsgRequest
                                                                                                  DirectStreamAPI
                                                                                                  Discard
                                                                                                  DiscardPolicy
                                                                                                  ExceededLimits
                                                                                                  Expires
                                                                                                  ExportedConsumer
                                                                                                  ExternalStream
                                                                                                  FetchBytes
                                                                                                  FetchMessages
                                                                                                  FetchOptions
                                                                                                  FlowControl
                                                                                                  Heartbeat
                                                                                                  HeartbeatsMissed
                                                                                                  IdleHeartbeat
                                                                                                  InfoableConsumer
                                                                                                  JetStreamAccountStats
                                                                                                  JetStreamApiCodes
                                                                                                  JetStreamApiStats
                                                                                                  JetStreamClient
                                                                                                  JetStreamManager
                                                                                                  JetStreamManagerOptions
                                                                                                  JetStreamOptions
                                                                                                  JetStreamPublishOptions
                                                                                                  JetStreamUsage
                                                                                                  JetStreamUsageAccountLimits
                                                                                                  JsHeaders
                                                                                                  JsMsg
                                                                                                  LastForMsgRequest
                                                                                                  Lister
                                                                                                  LostStreamData
                                                                                                  MaxBytes
                                                                                                  MaxMessages
                                                                                                  MsgDeleteRequest
                                                                                                  MsgRequest
                                                                                                  Next
                                                                                                  NextMsgRequest
                                                                                                  NextOptions
                                                                                                  NoResponders
                                                                                                  OrderedConsumerOptions
                                                                                                  OrderedConsumerRecreated
                                                                                                  OrderedPushConsumerOptions
                                                                                                  OverflowMinAckPending
                                                                                                  OverflowMinPending
                                                                                                  OverflowMinPendingAndMinAck
                                                                                                  OverflowOptions
                                                                                                  PeerInfo
                                                                                                  Placement
                                                                                                  PriorityGroups
                                                                                                  PriorityPolicy
                                                                                                  PubAck
                                                                                                  PullOptions
                                                                                                  PurgeBySeq
                                                                                                  PurgeBySubject
                                                                                                  PurgeOpts
                                                                                                  PurgeResponse
                                                                                                  PurgeTrimOpts
                                                                                                  PushConsumer
                                                                                                  PushConsumerOptions
                                                                                                  ReplayPolicy
                                                                                                  Republish
                                                                                                  RepublishHeaders
                                                                                                  Reset
                                                                                                  RetentionPolicy
                                                                                                  SeqMsgRequest
                                                                                                  SequenceInfo
                                                                                                  StartTimeMsgRequest
                                                                                                  StorageType
                                                                                                  StoreCompression
                                                                                                  StoredMsg
                                                                                                  Stream
                                                                                                  StreamAlternate
                                                                                                  StreamAPI
                                                                                                  StreamConfig
                                                                                                  StreamConsumerLimits
                                                                                                  StreamInfo
                                                                                                  StreamInfoRequestOptions
                                                                                                  StreamNames
                                                                                                  StreamNotFound
                                                                                                  Streams
                                                                                                  StreamSource
                                                                                                  StreamSourceInfo
                                                                                                  StreamState
                                                                                                  StreamUpdateConfig
                                                                                                  SubjectTransformConfig
                                                                                                  Success
                                                                                                  ThresholdBytes
                                                                                                  ThresholdMessages

                                                                                                  Variables

                                                                                                  AckPolicy
                                                                                                  AdvisoryKind
                                                                                                  DeliverPolicy
                                                                                                  DirectMsgHeaders
                                                                                                  DiscardPolicy
                                                                                                  JetStreamApiCodes
                                                                                                  JsHeaders
                                                                                                  PriorityPolicy
                                                                                                  ReplayPolicy
                                                                                                  RepublishHeaders
                                                                                                  RetentionPolicy
                                                                                                  StorageType
                                                                                                  StoreCompression

                                                                                                  Functions

                                                                                                  isPullConsumer
                                                                                                  isPushConsumer
                                                                                                  jetstream
                                                                                                  jetstreamManager
                                                                                                  +@nats-io/jetstream
                                                                                                  @nats-io/jetstream
                                                                                                    Preparing search index...

                                                                                                      @nats-io/jetstream

                                                                                                      Classes

                                                                                                      JetStreamApiError
                                                                                                      JetStreamError

                                                                                                      Type Aliases

                                                                                                      AbortOnMissingResource
                                                                                                      AccountLimits
                                                                                                      AckPolicy
                                                                                                      Advisory
                                                                                                      AdvisoryKind
                                                                                                      ApiError
                                                                                                      ApiPaged
                                                                                                      ApiPagedRequest
                                                                                                      Batch
                                                                                                      BatchAck
                                                                                                      BatchCallback
                                                                                                      BatchMessageOptions
                                                                                                      BatchMessageOptionsWithReply
                                                                                                      Bind
                                                                                                      BoundPushConsumerOptions
                                                                                                      Close
                                                                                                      Closed
                                                                                                      ClusterInfo
                                                                                                      CompletionResult
                                                                                                      ConsumeBytes
                                                                                                      ConsumeCallback
                                                                                                      ConsumeMessages
                                                                                                      ConsumeOptions
                                                                                                      Consumer
                                                                                                      ConsumerAPI
                                                                                                      ConsumerCallbackFn
                                                                                                      ConsumerConfig
                                                                                                      ConsumerCreateOptions
                                                                                                      ConsumerDeleted
                                                                                                      ConsumerInfo
                                                                                                      ConsumerKind
                                                                                                      ConsumerMessages
                                                                                                      ConsumerNotFound
                                                                                                      ConsumerNotification
                                                                                                      ConsumerPinned
                                                                                                      Consumers
                                                                                                      ConsumerUnpinned
                                                                                                      ConsumerUpdateConfig
                                                                                                      Debug
                                                                                                      DeleteableConsumer
                                                                                                      DeliverPolicy
                                                                                                      DeliveryInfo
                                                                                                      Destroyable
                                                                                                      DirectBatchLimits
                                                                                                      DirectBatchOptions
                                                                                                      DirectBatchStartSeq
                                                                                                      DirectBatchStartTime
                                                                                                      DirectLastFor
                                                                                                      DirectMsgHeaders
                                                                                                      DirectMsgRequest
                                                                                                      DirectStreamAPI
                                                                                                      Discard
                                                                                                      DiscardPolicy
                                                                                                      ExceededLimits
                                                                                                      Expires
                                                                                                      ExportedConsumer
                                                                                                      ExternalStream
                                                                                                      FetchBytes
                                                                                                      FetchMessages
                                                                                                      FetchOptions
                                                                                                      FlowControl
                                                                                                      Heartbeat
                                                                                                      HeartbeatsMissed
                                                                                                      IdleHeartbeat
                                                                                                      InfoableConsumer
                                                                                                      JetStreamAccountStats
                                                                                                      JetStreamApiCodes
                                                                                                      JetStreamApiStats
                                                                                                      JetStreamClient
                                                                                                      JetStreamManager
                                                                                                      JetStreamManagerOptions
                                                                                                      JetStreamOptions
                                                                                                      JetStreamPublishOptions
                                                                                                      JetStreamUsage
                                                                                                      JetStreamUsageAccountLimits
                                                                                                      JsHeaders
                                                                                                      JsMsg
                                                                                                      LastForMsgRequest
                                                                                                      Lister
                                                                                                      LostStreamData
                                                                                                      MaxBytes
                                                                                                      MaxMessages
                                                                                                      MsgDeleteRequest
                                                                                                      MsgRequest
                                                                                                      Next
                                                                                                      NextMsgRequest
                                                                                                      NextOptions
                                                                                                      NoResponders
                                                                                                      OrderedConsumerOptions
                                                                                                      OrderedConsumerRecreated
                                                                                                      OrderedPushConsumerOptions
                                                                                                      OverflowMinAckPending
                                                                                                      OverflowMinPending
                                                                                                      OverflowMinPendingAndMinAck
                                                                                                      OverflowOptions
                                                                                                      PeerInfo
                                                                                                      PersistMode
                                                                                                      Placement
                                                                                                      PrioritizedOptions
                                                                                                      PriorityGroups
                                                                                                      PriorityPolicy
                                                                                                      PubAck
                                                                                                      PubHeaders
                                                                                                      PullOptions
                                                                                                      PurgeBySeq
                                                                                                      PurgeBySubject
                                                                                                      PurgeOpts
                                                                                                      PurgeResponse
                                                                                                      PurgeTrimOpts
                                                                                                      PushConsumer
                                                                                                      PushConsumerOptions
                                                                                                      ReplayPolicy
                                                                                                      Republish
                                                                                                      RepublishHeaders
                                                                                                      Reset
                                                                                                      RetentionPolicy
                                                                                                      ScheduleOptions
                                                                                                      SeqMsgRequest
                                                                                                      SequenceInfo
                                                                                                      StartTimeMsgRequest
                                                                                                      StorageType
                                                                                                      StoreCompression
                                                                                                      StoredMsg
                                                                                                      Stream
                                                                                                      StreamAlternate
                                                                                                      StreamAPI
                                                                                                      StreamConfig
                                                                                                      StreamConsumerLimits
                                                                                                      StreamExpectations
                                                                                                      StreamInfo
                                                                                                      StreamInfoRequestOptions
                                                                                                      StreamNames
                                                                                                      StreamNotFound
                                                                                                      Streams
                                                                                                      StreamSource
                                                                                                      StreamSourceInfo
                                                                                                      StreamState
                                                                                                      StreamUpdateConfig
                                                                                                      SubjectTransformConfig
                                                                                                      Success
                                                                                                      ThresholdBytes
                                                                                                      ThresholdMessages

                                                                                                      Variables

                                                                                                      AckPolicy
                                                                                                      AdvisoryKind
                                                                                                      DeliverPolicy
                                                                                                      DirectMsgHeaders
                                                                                                      DiscardPolicy
                                                                                                      JetStreamApiCodes
                                                                                                      JsHeaders
                                                                                                      PersistMode
                                                                                                      PriorityPolicy
                                                                                                      PubHeaders
                                                                                                      ReplayPolicy
                                                                                                      RepublishHeaders
                                                                                                      RetentionPolicy
                                                                                                      StorageType
                                                                                                      StoreCompression

                                                                                                      Functions

                                                                                                      isPullConsumer
                                                                                                      isPushConsumer
                                                                                                      jetstream
                                                                                                      jetstreamManager
                                                                                                      diff --git a/docs/jetstream/types/AbortOnMissingResource.html b/docs/jetstream/types/AbortOnMissingResource.html index 8fbbb64f..49c915fb 100644 --- a/docs/jetstream/types/AbortOnMissingResource.html +++ b/docs/jetstream/types/AbortOnMissingResource.html @@ -1,4 +1,4 @@ -AbortOnMissingResource | @nats-io/jetstream
                                                                                                      @nats-io/jetstream
                                                                                                        Preparing search index...

                                                                                                        Type Alias AbortOnMissingResource

                                                                                                        type AbortOnMissingResource = {
                                                                                                            abort_on_missing_resource?: boolean;
                                                                                                        }
                                                                                                        Index

                                                                                                        Properties

                                                                                                        abort_on_missing_resource? +AbortOnMissingResource | @nats-io/jetstream
                                                                                                        @nats-io/jetstream
                                                                                                          Preparing search index...

                                                                                                          Type Alias AbortOnMissingResource

                                                                                                          type AbortOnMissingResource = {
                                                                                                              abort_on_missing_resource?: boolean;
                                                                                                          }
                                                                                                          Index

                                                                                                          Properties

                                                                                                          abort_on_missing_resource?: boolean

                                                                                                          If true, consume will abort if the stream or consumer is not found. Default is to recover once the stream/consumer is restored. This option is exclusive of bind.

                                                                                                          -
                                                                                                          +
                                                                                                          diff --git a/docs/jetstream/types/AccountLimits.html b/docs/jetstream/types/AccountLimits.html index 9934d9e8..efcb8cd9 100644 --- a/docs/jetstream/types/AccountLimits.html +++ b/docs/jetstream/types/AccountLimits.html @@ -1,4 +1,4 @@ -AccountLimits | @nats-io/jetstream
                                                                                                          @nats-io/jetstream
                                                                                                            Preparing search index...

                                                                                                            Type Alias AccountLimits

                                                                                                            type AccountLimits = {
                                                                                                                max_ack_pending: number;
                                                                                                                max_bytes_required: number;
                                                                                                                max_consumers: number;
                                                                                                                max_memory: number;
                                                                                                                max_storage: number;
                                                                                                                max_streams: number;
                                                                                                                memory_max_stream_bytes: number;
                                                                                                                storage_max_stream_bytes: number;
                                                                                                            }
                                                                                                            Index

                                                                                                            Properties

                                                                                                            max_ack_pending +AccountLimits | @nats-io/jetstream
                                                                                                            @nats-io/jetstream
                                                                                                              Preparing search index...

                                                                                                              Type Alias AccountLimits

                                                                                                              type AccountLimits = {
                                                                                                                  max_ack_pending: number;
                                                                                                                  max_bytes_required: number;
                                                                                                                  max_consumers: number;
                                                                                                                  max_memory: number;
                                                                                                                  max_storage: number;
                                                                                                                  max_streams: number;
                                                                                                                  memory_max_stream_bytes: number;
                                                                                                                  storage_max_stream_bytes: number;
                                                                                                              }
                                                                                                              Index

                                                                                                              Properties

                                                                                                              max_ack_pending: number

                                                                                                              The maximum number of outstanding ACKs any consumer may configure

                                                                                                              -
                                                                                                              max_bytes_required: number

                                                                                                              Indicates if Streams created in this account requires the max_bytes property set

                                                                                                              -
                                                                                                              max_consumers: number

                                                                                                              The maximum number of Consumer an account can create

                                                                                                              -
                                                                                                              max_memory: number

                                                                                                              The maximum amount of Memory storage Stream Messages may consume

                                                                                                              -
                                                                                                              max_storage: number

                                                                                                              The maximum amount of File storage Stream Messages may consume

                                                                                                              -
                                                                                                              max_streams: number

                                                                                                              The maximum number of Streams an account can create

                                                                                                              -
                                                                                                              memory_max_stream_bytes: number

                                                                                                              The maximum size any single memory stream may be

                                                                                                              -
                                                                                                              storage_max_stream_bytes: number

                                                                                                              The maximum size any single storage based stream may be

                                                                                                              -
                                                                                                              +
                                                                                                              max_bytes_required: number

                                                                                                              Indicates if Streams created in this account requires the max_bytes property set

                                                                                                              +
                                                                                                              max_consumers: number

                                                                                                              The maximum number of Consumer an account can create

                                                                                                              +
                                                                                                              max_memory: number

                                                                                                              The maximum amount of Memory storage Stream Messages may consume

                                                                                                              +
                                                                                                              max_storage: number

                                                                                                              The maximum amount of File storage Stream Messages may consume

                                                                                                              +
                                                                                                              max_streams: number

                                                                                                              The maximum number of Streams an account can create

                                                                                                              +
                                                                                                              memory_max_stream_bytes: number

                                                                                                              The maximum size any single memory stream may be

                                                                                                              +
                                                                                                              storage_max_stream_bytes: number

                                                                                                              The maximum size any single storage based stream may be

                                                                                                              +
                                                                                                              diff --git a/docs/jetstream/types/AckPolicy.html b/docs/jetstream/types/AckPolicy.html index 0e88c990..3c1dfeb2 100644 --- a/docs/jetstream/types/AckPolicy.html +++ b/docs/jetstream/types/AckPolicy.html @@ -1 +1 @@ -AckPolicy | @nats-io/jetstream
                                                                                                              @nats-io/jetstream
                                                                                                                Preparing search index...

                                                                                                                Type Alias AckPolicy

                                                                                                                AckPolicy: typeof AckPolicy[keyof typeof AckPolicy]
                                                                                                                +AckPolicy | @nats-io/jetstream
                                                                                                                @nats-io/jetstream
                                                                                                                  Preparing search index...

                                                                                                                  Type Alias AckPolicy

                                                                                                                  AckPolicy: typeof AckPolicy[keyof typeof AckPolicy]
                                                                                                                  diff --git a/docs/jetstream/types/Advisory.html b/docs/jetstream/types/Advisory.html index f2e121d2..55fa7bba 100644 --- a/docs/jetstream/types/Advisory.html +++ b/docs/jetstream/types/Advisory.html @@ -1,6 +1,6 @@ Advisory | @nats-io/jetstream
                                                                                                                  @nats-io/jetstream
                                                                                                                    Preparing search index...

                                                                                                                    Type Alias Advisory

                                                                                                                    An advisory is an interesting event in the JetStream server

                                                                                                                    -
                                                                                                                    type Advisory = {
                                                                                                                        data: unknown;
                                                                                                                        kind: AdvisoryKind;
                                                                                                                    }
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    type Advisory = {
                                                                                                                        data: unknown;
                                                                                                                        kind: AdvisoryKind;
                                                                                                                    }
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    Properties

                                                                                                                    data: unknown

                                                                                                                    Payload associated with the advisory

                                                                                                                    -

                                                                                                                    The type of the advisory

                                                                                                                    -
                                                                                                                    +

                                                                                                                    The type of the advisory

                                                                                                                    +
                                                                                                                    diff --git a/docs/jetstream/types/AdvisoryKind.html b/docs/jetstream/types/AdvisoryKind.html index 4bb51357..47337d4a 100644 --- a/docs/jetstream/types/AdvisoryKind.html +++ b/docs/jetstream/types/AdvisoryKind.html @@ -1 +1 @@ -AdvisoryKind | @nats-io/jetstream
                                                                                                                    @nats-io/jetstream
                                                                                                                      Preparing search index...

                                                                                                                      Type Alias AdvisoryKind

                                                                                                                      AdvisoryKind: typeof AdvisoryKind[keyof typeof AdvisoryKind]
                                                                                                                      +AdvisoryKind | @nats-io/jetstream
                                                                                                                      @nats-io/jetstream
                                                                                                                        Preparing search index...

                                                                                                                        Type Alias AdvisoryKind

                                                                                                                        AdvisoryKind: typeof AdvisoryKind[keyof typeof AdvisoryKind]
                                                                                                                        diff --git a/docs/jetstream/types/Batch.html b/docs/jetstream/types/Batch.html new file mode 100644 index 00000000..01368849 --- /dev/null +++ b/docs/jetstream/types/Batch.html @@ -0,0 +1,21 @@ +Batch | @nats-io/jetstream
                                                                                                                        @nats-io/jetstream
                                                                                                                          Preparing search index...

                                                                                                                          Type Alias Batch

                                                                                                                          A Batch represents a number of messages staged into a stream +atomically. The batch has several limits imposed by the server, +such as a batch may not contain more than 1000 messages (including +the message starting and ending the batch. And no more than 50 +batches on a stream can be active. Batches that are inactive for more +than 10 seconds, are abandoned by the server.

                                                                                                                          +

                                                                                                                          For more information check the JetStream +documentation.

                                                                                                                          +
                                                                                                                          type Batch = {
                                                                                                                              count: number;
                                                                                                                              id: string;
                                                                                                                              add(
                                                                                                                                  subj: string,
                                                                                                                                  payload?: Payload,
                                                                                                                                  opts?: Partial<BatchMessageOptions>,
                                                                                                                              ): void;
                                                                                                                              add(
                                                                                                                                  subj: string,
                                                                                                                                  payload?: Payload,
                                                                                                                                  opts?: Partial<BatchMessageOptionsWithReply>,
                                                                                                                              ): Promise<void>;
                                                                                                                              commit(
                                                                                                                                  subj: string,
                                                                                                                                  payload?: Payload,
                                                                                                                                  opts?: Partial<RequestOptions>,
                                                                                                                              ): Promise<BatchAck>;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

                                                                                                                          Methods

                                                                                                                          Properties

                                                                                                                          count: number

                                                                                                                          The current number of messages currently added to the batch

                                                                                                                          +
                                                                                                                          id: string

                                                                                                                          The unique identifier for the batch, generated by the client when the +batch is created.

                                                                                                                          +

                                                                                                                          Methods

                                                                                                                          • Appends the next message to the batch.

                                                                                                                            +

                                                                                                                            Parameters

                                                                                                                            Returns void

                                                                                                                          • Appends the next message to the batch, but will wait for the server to +acknowledge the message.

                                                                                                                            +

                                                                                                                            Parameters

                                                                                                                            Returns Promise<void>

                                                                                                                          • Commits the batch. This will publish the last message on the batch +and will remove the batch from the client.

                                                                                                                            +

                                                                                                                            Parameters

                                                                                                                            • subj: string
                                                                                                                            • Optionalpayload: Payload
                                                                                                                            • Optionalopts: Partial<RequestOptions>

                                                                                                                            Returns Promise<BatchAck>

                                                                                                                          diff --git a/docs/jetstream/types/BatchAck.html b/docs/jetstream/types/BatchAck.html new file mode 100644 index 00000000..2b529cb1 --- /dev/null +++ b/docs/jetstream/types/BatchAck.html @@ -0,0 +1 @@ +BatchAck | @nats-io/jetstream
                                                                                                                          @nats-io/jetstream
                                                                                                                            Preparing search index...

                                                                                                                            Type Alias BatchAck

                                                                                                                            BatchAck: { batch: string; count: number } & PubAck
                                                                                                                            diff --git a/docs/jetstream/types/BatchCallback.html b/docs/jetstream/types/BatchCallback.html index d1b72775..ee2736c9 100644 --- a/docs/jetstream/types/BatchCallback.html +++ b/docs/jetstream/types/BatchCallback.html @@ -1 +1 @@ -BatchCallback | @nats-io/jetstream
                                                                                                                            @nats-io/jetstream
                                                                                                                              Preparing search index...

                                                                                                                              Type Alias BatchCallback<T>

                                                                                                                              BatchCallback: (done: CompletionResult | null, d: T) => void

                                                                                                                              Type Parameters

                                                                                                                              • T

                                                                                                                              Type declaration

                                                                                                                              +BatchCallback | @nats-io/jetstream
                                                                                                                              @nats-io/jetstream
                                                                                                                                Preparing search index...

                                                                                                                                Type Alias BatchCallback<T>

                                                                                                                                BatchCallback: (done: CompletionResult | null, d: T) => void

                                                                                                                                Type Parameters

                                                                                                                                • T

                                                                                                                                Type declaration

                                                                                                                                diff --git a/docs/jetstream/types/BatchMessageOptions.html b/docs/jetstream/types/BatchMessageOptions.html new file mode 100644 index 00000000..7ba15df1 --- /dev/null +++ b/docs/jetstream/types/BatchMessageOptions.html @@ -0,0 +1 @@ +BatchMessageOptions | @nats-io/jetstream
                                                                                                                                @nats-io/jetstream
                                                                                                                                  Preparing search index...

                                                                                                                                  Type Alias BatchMessageOptions

                                                                                                                                  BatchMessageOptions: Partial<Omit<JetStreamPublishOptions, "msgID" | "expect">> & {
                                                                                                                                      expect?: Partial<Omit<StreamExpectations, "lastMsgID">>;
                                                                                                                                  }
                                                                                                                                  diff --git a/docs/jetstream/types/BatchMessageOptionsWithReply.html b/docs/jetstream/types/BatchMessageOptionsWithReply.html new file mode 100644 index 00000000..4989eb31 --- /dev/null +++ b/docs/jetstream/types/BatchMessageOptionsWithReply.html @@ -0,0 +1,3 @@ +BatchMessageOptionsWithReply | @nats-io/jetstream
                                                                                                                                  @nats-io/jetstream
                                                                                                                                    Preparing search index...

                                                                                                                                    Type Alias BatchMessageOptionsWithReply

                                                                                                                                    BatchMessageOptionsWithReply: { ack: boolean } & Partial<BatchMessageOptions>

                                                                                                                                    Type declaration

                                                                                                                                    • ack: boolean

                                                                                                                                      Request acknowledgement of the message (only set this on some of the +messages, as this introduces a round trip to the server)

                                                                                                                                      +
                                                                                                                                    diff --git a/docs/jetstream/types/Bind.html b/docs/jetstream/types/Bind.html index 3b257462..e46a204a 100644 --- a/docs/jetstream/types/Bind.html +++ b/docs/jetstream/types/Bind.html @@ -1,6 +1,6 @@ -Bind | @nats-io/jetstream
                                                                                                                                    @nats-io/jetstream
                                                                                                                                      Preparing search index...

                                                                                                                                      Type Alias Bind

                                                                                                                                      type Bind = {
                                                                                                                                          bind?: boolean;
                                                                                                                                      }
                                                                                                                                      Index

                                                                                                                                      Properties

                                                                                                                                      bind? +Bind | @nats-io/jetstream
                                                                                                                                      @nats-io/jetstream
                                                                                                                                        Preparing search index...

                                                                                                                                        Type Alias Bind

                                                                                                                                        type Bind = {
                                                                                                                                            bind?: boolean;
                                                                                                                                        }
                                                                                                                                        Index

                                                                                                                                        Properties

                                                                                                                                        Properties

                                                                                                                                        bind?: boolean

                                                                                                                                        If set to true the client will not try to check on its consumer by issuing consumer info requests. This means that the client may not report consumer not found, etc., and will simply fail request for messages due to missed heartbeats. This option is exclusive of abort_on_missing_resource.

                                                                                                                                        This option is not valid on ordered consumers.

                                                                                                                                        -
                                                                                                                                        +
                                                                                                                                        diff --git a/docs/jetstream/types/BoundPushConsumerOptions.html b/docs/jetstream/types/BoundPushConsumerOptions.html index 5e3a5d85..e7d10bd8 100644 --- a/docs/jetstream/types/BoundPushConsumerOptions.html +++ b/docs/jetstream/types/BoundPushConsumerOptions.html @@ -7,4 +7,4 @@ This value starts a client-side timer to detect missing heartbeats. If not specified or values don't match, there will be a skew and the possibility of false heartbeat missed notifications.

                                                                                                                                        -
                                                                                                                                        +
                                                                                                                                        diff --git a/docs/jetstream/types/Close.html b/docs/jetstream/types/Close.html index 8d0b0690..c8927ed8 100644 --- a/docs/jetstream/types/Close.html +++ b/docs/jetstream/types/Close.html @@ -1,3 +1,3 @@ -Close | @nats-io/jetstream
                                                                                                                                        @nats-io/jetstream
                                                                                                                                          Preparing search index...

                                                                                                                                          Type Alias Close

                                                                                                                                          type Close = {
                                                                                                                                              close(): Promise<void | Error>;
                                                                                                                                              closed(): Promise<void | Error>;
                                                                                                                                          }
                                                                                                                                          Index

                                                                                                                                          Methods

                                                                                                                                          close +Close | @nats-io/jetstream
                                                                                                                                          @nats-io/jetstream
                                                                                                                                            Preparing search index...

                                                                                                                                            Type Alias Close

                                                                                                                                            type Close = {
                                                                                                                                                close(): Promise<void | Error>;
                                                                                                                                                closed(): Promise<void | Error>;
                                                                                                                                            }
                                                                                                                                            Index

                                                                                                                                            Methods

                                                                                                                                            Methods

                                                                                                                                            • Returns Promise<void | Error>

                                                                                                                                            • Returns Promise<void | Error>

                                                                                                                                            +

                                                                                                                                            Methods

                                                                                                                                            • Returns Promise<void | Error>

                                                                                                                                            • Returns Promise<void | Error>

                                                                                                                                            diff --git a/docs/jetstream/types/Closed.html b/docs/jetstream/types/Closed.html index 58511dc9..4ecee693 100644 --- a/docs/jetstream/types/Closed.html +++ b/docs/jetstream/types/Closed.html @@ -1,5 +1,5 @@ Closed | @nats-io/jetstream
                                                                                                                                            @nats-io/jetstream
                                                                                                                                              Preparing search index...

                                                                                                                                              Type Alias Closed

                                                                                                                                              A type that reports via a promise when an object such as a connection or subscription closes.

                                                                                                                                              -
                                                                                                                                              type Closed = {
                                                                                                                                                  closed: Promise<void>;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              type Closed = {
                                                                                                                                                  closed: Promise<void>;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              Properties

                                                                                                                                              closed: Promise<void>

                                                                                                                                              A promise that when resolves, indicates that the object is closed.

                                                                                                                                              -
                                                                                                                                              +
                                                                                                                                              diff --git a/docs/jetstream/types/ClusterInfo.html b/docs/jetstream/types/ClusterInfo.html index a83ca9a6..3101702c 100644 --- a/docs/jetstream/types/ClusterInfo.html +++ b/docs/jetstream/types/ClusterInfo.html @@ -1,7 +1,15 @@ -ClusterInfo | @nats-io/jetstream
                                                                                                                                              @nats-io/jetstream
                                                                                                                                                Preparing search index...

                                                                                                                                                Type Alias ClusterInfo

                                                                                                                                                type ClusterInfo = {
                                                                                                                                                    leader?: string;
                                                                                                                                                    name?: string;
                                                                                                                                                    replicas?: PeerInfo[];
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                leader? +ClusterInfo | @nats-io/jetstream
                                                                                                                                                @nats-io/jetstream
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Type Alias ClusterInfo

                                                                                                                                                  type ClusterInfo = {
                                                                                                                                                      leader?: string;
                                                                                                                                                      leader_since?: string;
                                                                                                                                                      name?: string;
                                                                                                                                                      raft_group?: string;
                                                                                                                                                      replicas?: PeerInfo[];
                                                                                                                                                      system_account?: boolean;
                                                                                                                                                      traffic_account?: string;
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  leader?: string

                                                                                                                                                  The server name of the RAFT leader

                                                                                                                                                  -
                                                                                                                                                  name?: string

                                                                                                                                                  The cluster name

                                                                                                                                                  -
                                                                                                                                                  replicas?: PeerInfo[]

                                                                                                                                                  The members of the RAFT cluster

                                                                                                                                                  -
                                                                                                                                                  +
                                                                                                                                                  leader_since?: string

                                                                                                                                                  The ISO timestamp when the RAFT leader was elected.

                                                                                                                                                  +
                                                                                                                                                  name?: string

                                                                                                                                                  The cluster name

                                                                                                                                                  +
                                                                                                                                                  raft_group?: string

                                                                                                                                                  Name of the raft group managing the asset

                                                                                                                                                  +
                                                                                                                                                  replicas?: PeerInfo[]

                                                                                                                                                  The members of the RAFT cluster

                                                                                                                                                  +
                                                                                                                                                  system_account?: boolean

                                                                                                                                                  True if the traffic_account is a system account

                                                                                                                                                  +
                                                                                                                                                  traffic_account?: string

                                                                                                                                                  The account through which the cluster traffic flows through

                                                                                                                                                  +
                                                                                                                                                  diff --git a/docs/jetstream/types/CompletionResult.html b/docs/jetstream/types/CompletionResult.html index 95817d17..aa673270 100644 --- a/docs/jetstream/types/CompletionResult.html +++ b/docs/jetstream/types/CompletionResult.html @@ -1,2 +1,2 @@ -CompletionResult | @nats-io/jetstream
                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Type Alias CompletionResult

                                                                                                                                                    type CompletionResult = {
                                                                                                                                                        err?: Error;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    Properties

                                                                                                                                                    err?: Error
                                                                                                                                                    +CompletionResult | @nats-io/jetstream
                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Type Alias CompletionResult

                                                                                                                                                      type CompletionResult = {
                                                                                                                                                          err?: Error;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      Properties

                                                                                                                                                      err?: Error
                                                                                                                                                      diff --git a/docs/jetstream/types/ConsumeBytes.html b/docs/jetstream/types/ConsumeBytes.html index 4ddb5726..41ae43f9 100644 --- a/docs/jetstream/types/ConsumeBytes.html +++ b/docs/jetstream/types/ConsumeBytes.html @@ -1 +1 @@ -ConsumeBytes | @nats-io/jetstream
                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Type Alias ConsumeBytes

                                                                                                                                                        ConsumeBytes: MaxBytes & Partial<MaxMessages> & Partial<ThresholdBytes> & Expires & IdleHeartbeat & ConsumeCallback & AbortOnMissingResource & Bind & Partial<
                                                                                                                                                            OverflowOptions,
                                                                                                                                                        >
                                                                                                                                                        +ConsumeBytes | @nats-io/jetstream
                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Type Alias ConsumeBytes

                                                                                                                                                          ConsumeBytes: MaxBytes & Partial<MaxMessages> & Partial<ThresholdBytes> & Expires & IdleHeartbeat & ConsumeCallback & AbortOnMissingResource & Bind & Partial<
                                                                                                                                                              OverflowOptions,
                                                                                                                                                          > & Partial<PrioritizedOptions>
                                                                                                                                                          diff --git a/docs/jetstream/types/ConsumeCallback.html b/docs/jetstream/types/ConsumeCallback.html index 2447118a..cba9cd28 100644 --- a/docs/jetstream/types/ConsumeCallback.html +++ b/docs/jetstream/types/ConsumeCallback.html @@ -1,5 +1,5 @@ -ConsumeCallback | @nats-io/jetstream
                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Type Alias ConsumeCallback

                                                                                                                                                            type ConsumeCallback = {
                                                                                                                                                                callback?: ConsumerCallbackFn;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            callback? +ConsumeCallback | @nats-io/jetstream
                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Type Alias ConsumeCallback

                                                                                                                                                              type ConsumeCallback = {
                                                                                                                                                                  callback?: ConsumerCallbackFn;
                                                                                                                                                              }
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              Properties

                                                                                                                                                              Process messages using a callback instead of an iterator. Note that when using callbacks, the callback cannot be async. If you must use async functionality, process messages using an iterator.

                                                                                                                                                              -
                                                                                                                                                              +
                                                                                                                                                              diff --git a/docs/jetstream/types/ConsumeMessages.html b/docs/jetstream/types/ConsumeMessages.html index 41af2e13..4f47f695 100644 --- a/docs/jetstream/types/ConsumeMessages.html +++ b/docs/jetstream/types/ConsumeMessages.html @@ -1 +1 @@ -ConsumeMessages | @nats-io/jetstream
                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Type Alias ConsumeMessages

                                                                                                                                                                ConsumeMessages: Partial<MaxMessages> & Partial<ThresholdMessages> & Expires & IdleHeartbeat & ConsumeCallback & AbortOnMissingResource & Bind & Partial<
                                                                                                                                                                    OverflowOptions,
                                                                                                                                                                >
                                                                                                                                                                +ConsumeMessages | @nats-io/jetstream
                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Type Alias ConsumeMessages

                                                                                                                                                                  ConsumeMessages: Partial<MaxMessages> & Partial<ThresholdMessages> & Expires & IdleHeartbeat & ConsumeCallback & AbortOnMissingResource & Bind & Partial<
                                                                                                                                                                      OverflowOptions,
                                                                                                                                                                  > & Partial<PrioritizedOptions>
                                                                                                                                                                  diff --git a/docs/jetstream/types/ConsumeOptions.html b/docs/jetstream/types/ConsumeOptions.html index fc765e86..de006db4 100644 --- a/docs/jetstream/types/ConsumeOptions.html +++ b/docs/jetstream/types/ConsumeOptions.html @@ -1 +1 @@ -ConsumeOptions | @nats-io/jetstream
                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Type Alias ConsumeOptions

                                                                                                                                                                    ConsumeOptions: ConsumeBytes | ConsumeMessages
                                                                                                                                                                    +ConsumeOptions | @nats-io/jetstream
                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Type Alias ConsumeOptions

                                                                                                                                                                      ConsumeOptions: ConsumeBytes | ConsumeMessages
                                                                                                                                                                      diff --git a/docs/jetstream/types/Consumer.html b/docs/jetstream/types/Consumer.html index f0ad9944..e6a3c96a 100644 --- a/docs/jetstream/types/Consumer.html +++ b/docs/jetstream/types/Consumer.html @@ -1 +1 @@ -Consumer | @nats-io/jetstream
                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Type Alias Consumer

                                                                                                                                                                        +Consumer | @nats-io/jetstream
                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Type Alias Consumer

                                                                                                                                                                          diff --git a/docs/jetstream/types/ConsumerAPI.html b/docs/jetstream/types/ConsumerAPI.html index 030b12fc..1a5f14f4 100644 --- a/docs/jetstream/types/ConsumerAPI.html +++ b/docs/jetstream/types/ConsumerAPI.html @@ -1,4 +1,4 @@ -ConsumerAPI | @nats-io/jetstream
                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Type Alias ConsumerAPI

                                                                                                                                                                            type ConsumerAPI = {
                                                                                                                                                                                add(
                                                                                                                                                                                    stream: string,
                                                                                                                                                                                    cfg: Partial<ConsumerConfig>,
                                                                                                                                                                                    opts?: ConsumerCreateOptions,
                                                                                                                                                                                ): Promise<ConsumerInfo>;
                                                                                                                                                                                delete(stream: string, consumer: string): Promise<boolean>;
                                                                                                                                                                                info(stream: string, consumer: string): Promise<ConsumerInfo>;
                                                                                                                                                                                list(stream: string): Lister<ConsumerInfo>;
                                                                                                                                                                                pause(
                                                                                                                                                                                    stream: string,
                                                                                                                                                                                    name: string,
                                                                                                                                                                                    until?: Date,
                                                                                                                                                                                ): Promise<{ pause_until?: string; paused: boolean }>;
                                                                                                                                                                                resume(
                                                                                                                                                                                    stream: string,
                                                                                                                                                                                    name: string,
                                                                                                                                                                                ): Promise<{ pause_until?: string; paused: boolean }>;
                                                                                                                                                                                unpin(stream: string, name: string, group: string): Promise<void>;
                                                                                                                                                                                update(
                                                                                                                                                                                    stream: string,
                                                                                                                                                                                    durable: string,
                                                                                                                                                                                    cfg: Partial<ConsumerUpdateConfig>,
                                                                                                                                                                                ): Promise<ConsumerInfo>;
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Methods

                                                                                                                                                                            add +ConsumerAPI | @nats-io/jetstream
                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Type Alias ConsumerAPI

                                                                                                                                                                              type ConsumerAPI = {
                                                                                                                                                                                  add(
                                                                                                                                                                                      stream: string,
                                                                                                                                                                                      cfg: Partial<ConsumerConfig>,
                                                                                                                                                                                      opts?: ConsumerCreateOptions,
                                                                                                                                                                                  ): Promise<ConsumerInfo>;
                                                                                                                                                                                  delete(stream: string, consumer: string): Promise<boolean>;
                                                                                                                                                                                  info(stream: string, consumer: string): Promise<ConsumerInfo>;
                                                                                                                                                                                  list(stream: string): Lister<ConsumerInfo>;
                                                                                                                                                                                  pause(
                                                                                                                                                                                      stream: string,
                                                                                                                                                                                      name: string,
                                                                                                                                                                                      until?: Date,
                                                                                                                                                                                  ): Promise<{ pause_until?: string; paused: boolean }>;
                                                                                                                                                                                  resume(
                                                                                                                                                                                      stream: string,
                                                                                                                                                                                      name: string,
                                                                                                                                                                                  ): Promise<{ pause_until?: string; paused: boolean }>;
                                                                                                                                                                                  unpin(stream: string, name: string, group: string): Promise<void>;
                                                                                                                                                                                  update(
                                                                                                                                                                                      stream: string,
                                                                                                                                                                                      durable: string,
                                                                                                                                                                                      cfg: Partial<ConsumerUpdateConfig>,
                                                                                                                                                                                  ): Promise<ConsumerInfo>;
                                                                                                                                                                              }
                                                                                                                                                                              Index

                                                                                                                                                                              Methods

                                                                                                                                                                              add delete info list @@ -7,13 +7,13 @@ unpin update

                                                                                                                                                                              Methods

                                                                                                                                                                              • Deletes the specified consumer name/durable from the specified stream.

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • consumer: string

                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                              • Returns the ConsumerInfo for the specified consumer in the specified stream.

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • consumer: string

                                                                                                                                                                                Returns Promise<ConsumerInfo>

                                                                                                                                                                              • Lists all the consumers on the specified streams

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string

                                                                                                                                                                                Returns Lister<ConsumerInfo>

                                                                                                                                                                              • Pauses the consumer until the specified Date

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string
                                                                                                                                                                                • Optionaluntil: Date

                                                                                                                                                                                Returns Promise<{ pause_until?: string; paused: boolean }>

                                                                                                                                                                              • Resumes a paused Consumer, returning whether it is +

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns Promise<ConsumerInfo>

                                                                                                                                                                              • Deletes the specified consumer name/durable from the specified stream.

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • consumer: string

                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                              • Returns the ConsumerInfo for the specified consumer in the specified stream.

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • consumer: string

                                                                                                                                                                                Returns Promise<ConsumerInfo>

                                                                                                                                                                              • Lists all the consumers on the specified streams

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string

                                                                                                                                                                                Returns Lister<ConsumerInfo>

                                                                                                                                                                              • Pauses the consumer until the specified Date

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string
                                                                                                                                                                                • Optionaluntil: Date

                                                                                                                                                                                Returns Promise<{ pause_until?: string; paused: boolean }>

                                                                                                                                                                              • Resumes a paused Consumer, returning whether it is paused and when it will resume.

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string

                                                                                                                                                                                Returns Promise<{ pause_until?: string; paused: boolean }>

                                                                                                                                                                              • Unpins the currently pinned consumer.

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string
                                                                                                                                                                                • group: string

                                                                                                                                                                                Returns Promise<void>

                                                                                                                                                                              • Updates the consumer configuration for the specified consumer on the specified +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string

                                                                                                                                                                                Returns Promise<{ pause_until?: string; paused: boolean }>

                                                                                                                                                                              • Unpins the currently pinned consumer.

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • stream: string
                                                                                                                                                                                • name: string
                                                                                                                                                                                • group: string

                                                                                                                                                                                Returns Promise<void>

                                                                                                                                                                              • Updates the consumer configuration for the specified consumer on the specified stream that has the specified durable name.

                                                                                                                                                                                -

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns Promise<ConsumerInfo>

                                                                                                                                                                              +

                                                                                                                                                                              Parameters

                                                                                                                                                                              Returns Promise<ConsumerInfo>

                                                                                                                                                                              diff --git a/docs/jetstream/types/ConsumerCallbackFn.html b/docs/jetstream/types/ConsumerCallbackFn.html index d448b7e0..0ad53986 100644 --- a/docs/jetstream/types/ConsumerCallbackFn.html +++ b/docs/jetstream/types/ConsumerCallbackFn.html @@ -1 +1 @@ -ConsumerCallbackFn | @nats-io/jetstream
                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Type Alias ConsumerCallbackFn

                                                                                                                                                                                ConsumerCallbackFn: (r: JsMsg) => void | Promise<never>

                                                                                                                                                                                Type declaration

                                                                                                                                                                                  • (r: JsMsg): void | Promise<never>
                                                                                                                                                                                  • Parameters

                                                                                                                                                                                    Returns void | Promise<never>

                                                                                                                                                                                +ConsumerCallbackFn | @nats-io/jetstream
                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Type Alias ConsumerCallbackFn

                                                                                                                                                                                  ConsumerCallbackFn: (r: JsMsg) => void | Promise<never>

                                                                                                                                                                                  Type declaration

                                                                                                                                                                                    • (r: JsMsg): void | Promise<never>
                                                                                                                                                                                    • Parameters

                                                                                                                                                                                      Returns void | Promise<never>

                                                                                                                                                                                  diff --git a/docs/jetstream/types/ConsumerConfig.html b/docs/jetstream/types/ConsumerConfig.html index 02d23bff..42efd421 100644 --- a/docs/jetstream/types/ConsumerConfig.html +++ b/docs/jetstream/types/ConsumerConfig.html @@ -1,7 +1,7 @@ ConsumerConfig | @nats-io/jetstream
                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Type Alias ConsumerConfig

                                                                                                                                                                                    ConsumerConfig: ConsumerUpdateConfig & {
                                                                                                                                                                                        ack_policy: AckPolicy;
                                                                                                                                                                                        deliver_group?: string;
                                                                                                                                                                                        deliver_policy: DeliverPolicy;
                                                                                                                                                                                        durable_name?: string;
                                                                                                                                                                                        flow_control?: boolean;
                                                                                                                                                                                        idle_heartbeat?: Nanos;
                                                                                                                                                                                        name?: string;
                                                                                                                                                                                        opt_start_seq?: number;
                                                                                                                                                                                        opt_start_time?: string;
                                                                                                                                                                                        pause_until?: string;
                                                                                                                                                                                        rate_limit_bps?: number;
                                                                                                                                                                                        replay_policy: ReplayPolicy;
                                                                                                                                                                                    }

                                                                                                                                                                                    Type declaration

                                                                                                                                                                                    • ack_policy: AckPolicy

                                                                                                                                                                                      The type of acknowledgment required by the Consumer

                                                                                                                                                                                    • Optionaldeliver_group?: string

                                                                                                                                                                                      Allows push consumers to form a queue group

                                                                                                                                                                                    • deliver_policy: DeliverPolicy

                                                                                                                                                                                      Where to start consuming messages on the stream

                                                                                                                                                                                      -
                                                                                                                                                                                    • Optionaldurable_name?: string

                                                                                                                                                                                      A unique name for a durable consumer. Set name for ephemeral consumers

                                                                                                                                                                                      +
                                                                                                                                                                                    • Optionaldurable_name?: string

                                                                                                                                                                                      A unique name for a durable consumer. Set name for ephemeral consumers

                                                                                                                                                                                    • Optionalflow_control?: boolean

                                                                                                                                                                                      For push consumers this will regularly send an empty mess with Status header 100 and a reply subject, consumers must reply to these messages to control the rate of message delivery.

                                                                                                                                                                                      @@ -16,4 +16,4 @@ Specified as an ISO date time string (Date#toISOString()).

                                                                                                                                                                                    • Optionalrate_limit_bps?: number

                                                                                                                                                                                      The rate at which messages will be delivered to clients, expressed in bytes per second

                                                                                                                                                                                    • replay_policy: ReplayPolicy

                                                                                                                                                                                      How messages are played back to the Consumer

                                                                                                                                                                                      -
                                                                                                                                                                                    +
                                                                                                                                                                                    diff --git a/docs/jetstream/types/ConsumerCreateOptions.html b/docs/jetstream/types/ConsumerCreateOptions.html index 35d5e481..93fd3a39 100644 --- a/docs/jetstream/types/ConsumerCreateOptions.html +++ b/docs/jetstream/types/ConsumerCreateOptions.html @@ -1,4 +1,4 @@ -ConsumerCreateOptions | @nats-io/jetstream
                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Type Alias ConsumerCreateOptions

                                                                                                                                                                                      type ConsumerCreateOptions = {
                                                                                                                                                                                          pedantic?: boolean;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      pedantic? +ConsumerCreateOptions | @nats-io/jetstream
                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Type Alias ConsumerCreateOptions

                                                                                                                                                                                        type ConsumerCreateOptions = {
                                                                                                                                                                                            pedantic?: boolean;
                                                                                                                                                                                        }
                                                                                                                                                                                        Index

                                                                                                                                                                                        Properties

                                                                                                                                                                                        Properties

                                                                                                                                                                                        pedantic?: boolean

                                                                                                                                                                                        If true, the server will check that the consumer configuration aligns with stream settings that affect the consumer.

                                                                                                                                                                                        -
                                                                                                                                                                                        +
                                                                                                                                                                                        diff --git a/docs/jetstream/types/ConsumerDeleted.html b/docs/jetstream/types/ConsumerDeleted.html index 97048db1..554c4abc 100644 --- a/docs/jetstream/types/ConsumerDeleted.html +++ b/docs/jetstream/types/ConsumerDeleted.html @@ -1,7 +1,7 @@ ConsumerDeleted | @nats-io/jetstream
                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Type Alias ConsumerDeleted

                                                                                                                                                                                          Notification that the consumer was deleted. This notification means the consumer will not get messages unless it is recreated. The client will continue to attempt to pull messages. Ordered consumer will recreate it.

                                                                                                                                                                                          -
                                                                                                                                                                                          type ConsumerDeleted = {
                                                                                                                                                                                              code: number;
                                                                                                                                                                                              description: string;
                                                                                                                                                                                              type: "consumer_deleted";
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          type ConsumerDeleted = {
                                                                                                                                                                                              code: number;
                                                                                                                                                                                              description: string;
                                                                                                                                                                                              type: "consumer_deleted";
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          Properties

                                                                                                                                                                                          code: number
                                                                                                                                                                                          description: string
                                                                                                                                                                                          type: "consumer_deleted"
                                                                                                                                                                                          +

                                                                                                                                                                                          Properties

                                                                                                                                                                                          code: number
                                                                                                                                                                                          description: string
                                                                                                                                                                                          type: "consumer_deleted"
                                                                                                                                                                                          diff --git a/docs/jetstream/types/ConsumerInfo.html b/docs/jetstream/types/ConsumerInfo.html index 93a4809e..f525f020 100644 --- a/docs/jetstream/types/ConsumerInfo.html +++ b/docs/jetstream/types/ConsumerInfo.html @@ -1,4 +1,4 @@ -ConsumerInfo | @nats-io/jetstream
                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Type Alias ConsumerInfo

                                                                                                                                                                                            type ConsumerInfo = {
                                                                                                                                                                                                ack_floor: SequenceInfo;
                                                                                                                                                                                                cluster?: ClusterInfo;
                                                                                                                                                                                                config: ConsumerConfig;
                                                                                                                                                                                                created: string;
                                                                                                                                                                                                delivered: SequenceInfo;
                                                                                                                                                                                                name: string;
                                                                                                                                                                                                num_ack_pending: number;
                                                                                                                                                                                                num_pending: number;
                                                                                                                                                                                                num_redelivered: number;
                                                                                                                                                                                                num_waiting: number;
                                                                                                                                                                                                pause_remaining: Nanos;
                                                                                                                                                                                                paused?: boolean;
                                                                                                                                                                                                push_bound: boolean;
                                                                                                                                                                                                stream_name: string;
                                                                                                                                                                                                ts?: string;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            ack_floor +ConsumerInfo | @nats-io/jetstream
                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Type Alias ConsumerInfo

                                                                                                                                                                                              type ConsumerInfo = {
                                                                                                                                                                                                  ack_floor: SequenceInfo;
                                                                                                                                                                                                  cluster?: ClusterInfo;
                                                                                                                                                                                                  config: ConsumerConfig;
                                                                                                                                                                                                  created: string;
                                                                                                                                                                                                  delivered: SequenceInfo;
                                                                                                                                                                                                  name: string;
                                                                                                                                                                                                  num_ack_pending: number;
                                                                                                                                                                                                  num_pending: number;
                                                                                                                                                                                                  num_redelivered: number;
                                                                                                                                                                                                  num_waiting: number;
                                                                                                                                                                                                  pause_remaining: Nanos;
                                                                                                                                                                                                  paused?: boolean;
                                                                                                                                                                                                  push_bound: boolean;
                                                                                                                                                                                                  stream_name: string;
                                                                                                                                                                                                  ts?: string;
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              Properties

                                                                                                                                                                                              ack_floor: SequenceInfo

                                                                                                                                                                                              The highest contiguous acknowledged message

                                                                                                                                                                                              -
                                                                                                                                                                                              cluster?: ClusterInfo

                                                                                                                                                                                              The cluster where the consumer is defined

                                                                                                                                                                                              -

                                                                                                                                                                                              The consumer configuration

                                                                                                                                                                                              -
                                                                                                                                                                                              created: string

                                                                                                                                                                                              The ISO timestamp when the Consumer was created

                                                                                                                                                                                              -
                                                                                                                                                                                              delivered: SequenceInfo

                                                                                                                                                                                              The last message delivered from this Consumer

                                                                                                                                                                                              -
                                                                                                                                                                                              name: string

                                                                                                                                                                                              A unique name for the consumer, either machine generated or the durable name

                                                                                                                                                                                              -
                                                                                                                                                                                              num_ack_pending: number

                                                                                                                                                                                              The number of messages pending acknowledgement +

                                                                                                                                                                                              cluster?: ClusterInfo

                                                                                                                                                                                              The cluster where the consumer is defined

                                                                                                                                                                                              +

                                                                                                                                                                                              The consumer configuration

                                                                                                                                                                                              +
                                                                                                                                                                                              created: string

                                                                                                                                                                                              The ISO timestamp when the Consumer was created

                                                                                                                                                                                              +
                                                                                                                                                                                              delivered: SequenceInfo

                                                                                                                                                                                              The last message delivered from this Consumer

                                                                                                                                                                                              +
                                                                                                                                                                                              name: string

                                                                                                                                                                                              A unique name for the consumer, either machine generated or the durable name

                                                                                                                                                                                              +
                                                                                                                                                                                              num_ack_pending: number

                                                                                                                                                                                              The number of messages pending acknowledgement but yet to acknowledged by the client.

                                                                                                                                                                                              -
                                                                                                                                                                                              num_pending: number

                                                                                                                                                                                              The number of messages left unconsumed in this Consumer

                                                                                                                                                                                              -
                                                                                                                                                                                              num_redelivered: number

                                                                                                                                                                                              The number of redeliveries that have been performed

                                                                                                                                                                                              -
                                                                                                                                                                                              num_waiting: number

                                                                                                                                                                                              The number of pull consumers waiting for messages

                                                                                                                                                                                              -
                                                                                                                                                                                              pause_remaining: Nanos

                                                                                                                                                                                              If the consumer was paused with a resume date, this field specifies the amount of time +

                                                                                                                                                                                              num_pending: number

                                                                                                                                                                                              The number of messages left unconsumed in this Consumer

                                                                                                                                                                                              +
                                                                                                                                                                                              num_redelivered: number

                                                                                                                                                                                              The number of redeliveries that have been performed

                                                                                                                                                                                              +
                                                                                                                                                                                              num_waiting: number

                                                                                                                                                                                              The number of pull consumers waiting for messages

                                                                                                                                                                                              +
                                                                                                                                                                                              pause_remaining: Nanos

                                                                                                                                                                                              If the consumer was paused with a resume date, this field specifies the amount of time in nanoseconds remaining until the consumer will be automatically resumed. This field is only available on servers 2.11.x or better

                                                                                                                                                                                              -
                                                                                                                                                                                              paused?: boolean

                                                                                                                                                                                              Set to true if the consumer is paused. +

                                                                                                                                                                                              paused?: boolean

                                                                                                                                                                                              Set to true if the consumer is paused. This field is only available on servers 2.11.x or better

                                                                                                                                                                                              -
                                                                                                                                                                                              push_bound: boolean

                                                                                                                                                                                              Indicates if any client is connected and receiving messages from a push consumer

                                                                                                                                                                                              -
                                                                                                                                                                                              stream_name: string

                                                                                                                                                                                              The stream hosting the consumer

                                                                                                                                                                                              -
                                                                                                                                                                                              ts?: string

                                                                                                                                                                                              The ISO timestamp when the ConsumerInfo was generated. This field is only available +

                                                                                                                                                                                              push_bound: boolean

                                                                                                                                                                                              Indicates if any client is connected and receiving messages from a push consumer

                                                                                                                                                                                              +
                                                                                                                                                                                              stream_name: string

                                                                                                                                                                                              The stream hosting the consumer

                                                                                                                                                                                              +
                                                                                                                                                                                              ts?: string

                                                                                                                                                                                              The ISO timestamp when the ConsumerInfo was generated. This field is only available on servers 2.10.x or better

                                                                                                                                                                                              -
                                                                                                                                                                                              +
                                                                                                                                                                                              diff --git a/docs/jetstream/types/ConsumerKind.html b/docs/jetstream/types/ConsumerKind.html index a7c72c0f..78b65041 100644 --- a/docs/jetstream/types/ConsumerKind.html +++ b/docs/jetstream/types/ConsumerKind.html @@ -1,3 +1,3 @@ -ConsumerKind | @nats-io/jetstream
                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Type Alias ConsumerKind

                                                                                                                                                                                                type ConsumerKind = {
                                                                                                                                                                                                    isPullConsumer(): boolean;
                                                                                                                                                                                                    isPushConsumer(): boolean;
                                                                                                                                                                                                }
                                                                                                                                                                                                Index

                                                                                                                                                                                                Methods

                                                                                                                                                                                                isPullConsumer +ConsumerKind | @nats-io/jetstream
                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Type Alias ConsumerKind

                                                                                                                                                                                                  type ConsumerKind = {
                                                                                                                                                                                                      isPullConsumer(): boolean;
                                                                                                                                                                                                      isPushConsumer(): boolean;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Methods

                                                                                                                                                                                                  • Returns boolean

                                                                                                                                                                                                  • Returns boolean

                                                                                                                                                                                                  +

                                                                                                                                                                                                  Methods

                                                                                                                                                                                                  • Returns boolean

                                                                                                                                                                                                  • Returns boolean

                                                                                                                                                                                                  diff --git a/docs/jetstream/types/ConsumerMessages.html b/docs/jetstream/types/ConsumerMessages.html index 1cd8fbcb..bc5cf0d9 100644 --- a/docs/jetstream/types/ConsumerMessages.html +++ b/docs/jetstream/types/ConsumerMessages.html @@ -1 +1 @@ -ConsumerMessages | @nats-io/jetstream
                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Type Alias ConsumerMessages

                                                                                                                                                                                                    ConsumerMessages: QueuedIterator<JsMsg> & Close & {
                                                                                                                                                                                                        status(): AsyncIterable<ConsumerNotification>;
                                                                                                                                                                                                    }
                                                                                                                                                                                                    +ConsumerMessages | @nats-io/jetstream
                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Type Alias ConsumerMessages

                                                                                                                                                                                                      ConsumerMessages: QueuedIterator<JsMsg> & Close & {
                                                                                                                                                                                                          status(): AsyncIterable<ConsumerNotification>;
                                                                                                                                                                                                      }
                                                                                                                                                                                                      diff --git a/docs/jetstream/types/ConsumerNotFound.html b/docs/jetstream/types/ConsumerNotFound.html index 45624be6..08e19de0 100644 --- a/docs/jetstream/types/ConsumerNotFound.html +++ b/docs/jetstream/types/ConsumerNotFound.html @@ -4,8 +4,8 @@ find the consumer. Note that if you get this notification possibly your code should attempt to recreate the consumer. Note that this notification is only informational for ordered consumers, as the consumer will be created in those cases automatically.

                                                                                                                                                                                                      -
                                                                                                                                                                                                      type ConsumerNotFound = {
                                                                                                                                                                                                          count: number;
                                                                                                                                                                                                          name: string;
                                                                                                                                                                                                          stream: string;
                                                                                                                                                                                                          type: "consumer_not_found";
                                                                                                                                                                                                      }
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      type ConsumerNotFound = {
                                                                                                                                                                                                          count: number;
                                                                                                                                                                                                          name: string;
                                                                                                                                                                                                          stream: string;
                                                                                                                                                                                                          type: "consumer_not_found";
                                                                                                                                                                                                      }
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      count: number
                                                                                                                                                                                                      name: string
                                                                                                                                                                                                      stream: string
                                                                                                                                                                                                      type: "consumer_not_found"
                                                                                                                                                                                                      +

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      count: number
                                                                                                                                                                                                      name: string
                                                                                                                                                                                                      stream: string
                                                                                                                                                                                                      type: "consumer_not_found"
                                                                                                                                                                                                      diff --git a/docs/jetstream/types/ConsumerNotification.html b/docs/jetstream/types/ConsumerNotification.html index 20cf2fad..1b71ca76 100644 --- a/docs/jetstream/types/ConsumerNotification.html +++ b/docs/jetstream/types/ConsumerNotification.html @@ -1,3 +1,3 @@ ConsumerNotification | @nats-io/jetstream
                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Type Alias ConsumerNotification

                                                                                                                                                                                                        ConsumerNotification:
                                                                                                                                                                                                            | HeartbeatsMissed
                                                                                                                                                                                                            | ConsumerNotFound
                                                                                                                                                                                                            | StreamNotFound
                                                                                                                                                                                                            | ConsumerDeleted
                                                                                                                                                                                                            | OrderedConsumerRecreated
                                                                                                                                                                                                            | ExceededLimits
                                                                                                                                                                                                            | Debug
                                                                                                                                                                                                            | Discard
                                                                                                                                                                                                            | Reset
                                                                                                                                                                                                            | Next
                                                                                                                                                                                                            | Heartbeat
                                                                                                                                                                                                            | FlowControl
                                                                                                                                                                                                            | NoResponders
                                                                                                                                                                                                            | ConsumerPinned
                                                                                                                                                                                                            | ConsumerUnpinned

                                                                                                                                                                                                        ConsumerNotifications are informational notifications emitted by ConsumerMessages that may be of interest to a client.

                                                                                                                                                                                                        -
                                                                                                                                                                                                        +
                                                                                                                                                                                                        diff --git a/docs/jetstream/types/ConsumerPinned.html b/docs/jetstream/types/ConsumerPinned.html index 7bea25d6..219ffaa9 100644 --- a/docs/jetstream/types/ConsumerPinned.html +++ b/docs/jetstream/types/ConsumerPinned.html @@ -1,3 +1,3 @@ -ConsumerPinned | @nats-io/jetstream
                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Type Alias ConsumerPinned

                                                                                                                                                                                                          type ConsumerPinned = {
                                                                                                                                                                                                              id: string;
                                                                                                                                                                                                              type: "consumer_pinned";
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          id +ConsumerPinned | @nats-io/jetstream
                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Type Alias ConsumerPinned

                                                                                                                                                                                                            type ConsumerPinned = {
                                                                                                                                                                                                                id: string;
                                                                                                                                                                                                                type: "consumer_pinned";
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            id: string
                                                                                                                                                                                                            type: "consumer_pinned"
                                                                                                                                                                                                            +

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            id: string
                                                                                                                                                                                                            type: "consumer_pinned"
                                                                                                                                                                                                            diff --git a/docs/jetstream/types/ConsumerUnpinned.html b/docs/jetstream/types/ConsumerUnpinned.html index b2e2f134..d869dd64 100644 --- a/docs/jetstream/types/ConsumerUnpinned.html +++ b/docs/jetstream/types/ConsumerUnpinned.html @@ -1,2 +1,2 @@ -ConsumerUnpinned | @nats-io/jetstream
                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Type Alias ConsumerUnpinned

                                                                                                                                                                                                              type ConsumerUnpinned = {
                                                                                                                                                                                                                  type: "consumer_unpinned";
                                                                                                                                                                                                              }
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              type: "consumer_unpinned"
                                                                                                                                                                                                              +ConsumerUnpinned | @nats-io/jetstream
                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                Type Alias ConsumerUnpinned

                                                                                                                                                                                                                type ConsumerUnpinned = {
                                                                                                                                                                                                                    type: "consumer_unpinned";
                                                                                                                                                                                                                }
                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                type: "consumer_unpinned"
                                                                                                                                                                                                                diff --git a/docs/jetstream/types/ConsumerUpdateConfig.html b/docs/jetstream/types/ConsumerUpdateConfig.html index df69f89d..c0e4a864 100644 --- a/docs/jetstream/types/ConsumerUpdateConfig.html +++ b/docs/jetstream/types/ConsumerUpdateConfig.html @@ -4,9 +4,9 @@
                                                                                                                                                                                                              • Optionaldeliver_subject?: string

                                                                                                                                                                                                                The subject where the push consumer should be sent the messages

                                                                                                                                                                                                              • Optionaldescription?: string

                                                                                                                                                                                                                A short description of the purpose of this consume

                                                                                                                                                                                                              • Optionalfilter_subject?: string

                                                                                                                                                                                                                Deliver only messages that match the subject filter -This is exclusive of filter_subjects

                                                                                                                                                                                                                +This is exclusive of filter_subjects

                                                                                                                                                                                                              • Optionalfilter_subjects?: string[]

                                                                                                                                                                                                                Deliver only messages that match the specified filters. -This is exclusive of filter_subject.

                                                                                                                                                                                                                +This is exclusive of filter_subject.

                                                                                                                                                                                                              • Optionalheaders_only?: boolean

                                                                                                                                                                                                                Delivers only the headers of messages in the stream and not the bodies. Additionally, adds Nats-Msg-Size JsHeaders#MessageSizeHdr header to indicate the size of the removed payload

                                                                                                                                                                                                                @@ -26,4 +26,4 @@ keys starting with _nats are reserved. This feature only supported on servers 2.10.x and better.

                                                                                                                                                                                                              • Optionalnum_replicas?: number

                                                                                                                                                                                                                When set do not inherit the replica count from the stream but specifically set it to this amount.

                                                                                                                                                                                                                -
                                                                                                                                                                                                              • +
                                                                                                                                                                                                                diff --git a/docs/jetstream/types/Consumers.html b/docs/jetstream/types/Consumers.html index a56f86ee..47ca5c06 100644 --- a/docs/jetstream/types/Consumers.html +++ b/docs/jetstream/types/Consumers.html @@ -1,4 +1,4 @@ -Consumers | @nats-io/jetstream
                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Type Alias Consumers

                                                                                                                                                                                                                  type Consumers = {
                                                                                                                                                                                                                      get(
                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                          name?: string | Partial<OrderedConsumerOptions>,
                                                                                                                                                                                                                      ): Promise<Consumer>;
                                                                                                                                                                                                                      getBoundPushConsumer(opts: BoundPushConsumerOptions): Promise<PushConsumer>;
                                                                                                                                                                                                                      getConsumerFromInfo(ci: ConsumerInfo): Consumer;
                                                                                                                                                                                                                      getPushConsumer(
                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                          name?: string | Partial<OrderedPushConsumerOptions>,
                                                                                                                                                                                                                      ): Promise<PushConsumer>;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                  get +Consumers | @nats-io/jetstream
                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                    Type Alias Consumers

                                                                                                                                                                                                                    type Consumers = {
                                                                                                                                                                                                                        get(
                                                                                                                                                                                                                            stream: string,
                                                                                                                                                                                                                            name?: string | Partial<OrderedConsumerOptions>,
                                                                                                                                                                                                                        ): Promise<Consumer>;
                                                                                                                                                                                                                        getBoundPushConsumer(opts: BoundPushConsumerOptions): Promise<PushConsumer>;
                                                                                                                                                                                                                        getConsumerFromInfo(ci: ConsumerInfo): Consumer;
                                                                                                                                                                                                                        getPushConsumer(
                                                                                                                                                                                                                            stream: string,
                                                                                                                                                                                                                            name?: string | Partial<OrderedPushConsumerOptions>,
                                                                                                                                                                                                                        ): Promise<PushConsumer>;
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                    • stream: string
                                                                                                                                                                                                                    • Optionalname: string | Partial<OrderedConsumerOptions>

                                                                                                                                                                                                                      or OrderedConsumerOptions - if not specified an ordered consumer is created with the specified options.

                                                                                                                                                                                                                      -

                                                                                                                                                                                                                    Returns Promise<Consumer>

                                                                                                                                                                                                                    • Returns a PullConsumer configured for the specified ConsumerInfo. +

                                                                                                                                                                                                                    Returns Promise<Consumer>

                                                                                                                                                                                                                    • Returns a PullConsumer configured for the specified ConsumerInfo. Note this API doesn't create or check that the consumer exists. It simply returns a Consumer that you can use to process messages. This method should only be used when avoiding extra ConsumerInfo. If the underlying consumer doesn't exist, the consumer will raise heartbeat_missed notifications.

                                                                                                                                                                                                                      -

                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                      Returns Consumer

                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                    Returns Consumer

                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/Debug.html b/docs/jetstream/types/Debug.html index f98ac935..d9891324 100644 --- a/docs/jetstream/types/Debug.html +++ b/docs/jetstream/types/Debug.html @@ -1,6 +1,6 @@ Debug | @nats-io/jetstream
                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                      Type Alias Debug

                                                                                                                                                                                                                      DebugEvents are effectively statuses returned by the server that were ignored by the client. The code and description indicate the server specified code and description.

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      type Debug = {
                                                                                                                                                                                                                          code: number;
                                                                                                                                                                                                                          description: string;
                                                                                                                                                                                                                          type: "debug";
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      type Debug = {
                                                                                                                                                                                                                          code: number;
                                                                                                                                                                                                                          description: string;
                                                                                                                                                                                                                          type: "debug";
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      code: number
                                                                                                                                                                                                                      description: string
                                                                                                                                                                                                                      type: "debug"
                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      code: number
                                                                                                                                                                                                                      description: string
                                                                                                                                                                                                                      type: "debug"
                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/DeleteableConsumer.html b/docs/jetstream/types/DeleteableConsumer.html index d0d14f6c..e9dd032d 100644 --- a/docs/jetstream/types/DeleteableConsumer.html +++ b/docs/jetstream/types/DeleteableConsumer.html @@ -1,2 +1,2 @@ -DeleteableConsumer | @nats-io/jetstream
                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Type Alias DeleteableConsumer

                                                                                                                                                                                                                        type DeleteableConsumer = {
                                                                                                                                                                                                                            delete(): Promise<boolean>;
                                                                                                                                                                                                                        }
                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                        • Returns Promise<boolean>

                                                                                                                                                                                                                        +DeleteableConsumer | @nats-io/jetstream
                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                          Type Alias DeleteableConsumer

                                                                                                                                                                                                                          type DeleteableConsumer = {
                                                                                                                                                                                                                              delete(): Promise<boolean>;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                          • Returns Promise<boolean>

                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/DeliverPolicy.html b/docs/jetstream/types/DeliverPolicy.html index 90d4c7eb..62948eef 100644 --- a/docs/jetstream/types/DeliverPolicy.html +++ b/docs/jetstream/types/DeliverPolicy.html @@ -1 +1 @@ -DeliverPolicy | @nats-io/jetstream
                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Type Alias DeliverPolicy

                                                                                                                                                                                                                            DeliverPolicy: typeof DeliverPolicy[keyof typeof DeliverPolicy]
                                                                                                                                                                                                                            +DeliverPolicy | @nats-io/jetstream
                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Type Alias DeliverPolicy

                                                                                                                                                                                                                              DeliverPolicy: typeof DeliverPolicy[keyof typeof DeliverPolicy]
                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/DeliveryInfo.html b/docs/jetstream/types/DeliveryInfo.html index 1a1961b4..fac075bc 100644 --- a/docs/jetstream/types/DeliveryInfo.html +++ b/docs/jetstream/types/DeliveryInfo.html @@ -1,4 +1,4 @@ -DeliveryInfo | @nats-io/jetstream
                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                Type Alias DeliveryInfo

                                                                                                                                                                                                                                type DeliveryInfo = {
                                                                                                                                                                                                                                    account_hash?: string;
                                                                                                                                                                                                                                    consumer: string;
                                                                                                                                                                                                                                    deliveryCount: number;
                                                                                                                                                                                                                                    deliverySequence: number;
                                                                                                                                                                                                                                    domain: string;
                                                                                                                                                                                                                                    pending: number;
                                                                                                                                                                                                                                    redelivered: boolean;
                                                                                                                                                                                                                                    stream: string;
                                                                                                                                                                                                                                    streamSequence: number;
                                                                                                                                                                                                                                    timestampNanos: number;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                account_hash? +DeliveryInfo | @nats-io/jetstream
                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                  Type Alias DeliveryInfo

                                                                                                                                                                                                                                  type DeliveryInfo = {
                                                                                                                                                                                                                                      account_hash?: string;
                                                                                                                                                                                                                                      consumer: string;
                                                                                                                                                                                                                                      deliveryCount: number;
                                                                                                                                                                                                                                      deliverySequence: number;
                                                                                                                                                                                                                                      domain: string;
                                                                                                                                                                                                                                      pending: number;
                                                                                                                                                                                                                                      redelivered: boolean;
                                                                                                                                                                                                                                      stream: string;
                                                                                                                                                                                                                                      streamSequence: number;
                                                                                                                                                                                                                                      timestampNanos: number;
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  account_hash?: string

                                                                                                                                                                                                                                  The hash of the sending account if applicable.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  consumer: string

                                                                                                                                                                                                                                  The intended consumer for the message.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  deliveryCount: number

                                                                                                                                                                                                                                  The number of times the message has been delivered.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  deliverySequence: number

                                                                                                                                                                                                                                  The client delivery sequence for the message

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  domain: string

                                                                                                                                                                                                                                  JetStream domain of the message if applicable.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  pending: number

                                                                                                                                                                                                                                  The number of pending messages for the consumer at the time the +

                                                                                                                                                                                                                                  consumer: string

                                                                                                                                                                                                                                  The intended consumer for the message.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  deliveryCount: number

                                                                                                                                                                                                                                  The number of times the message has been delivered.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  deliverySequence: number

                                                                                                                                                                                                                                  The client delivery sequence for the message

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  domain: string

                                                                                                                                                                                                                                  JetStream domain of the message if applicable.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  pending: number

                                                                                                                                                                                                                                  The number of pending messages for the consumer at the time the message was delivered.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  redelivered: boolean

                                                                                                                                                                                                                                  True if the message has been redelivered.

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  stream: string

                                                                                                                                                                                                                                  The stream where the message came from

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  streamSequence: number

                                                                                                                                                                                                                                  The sequence number of the message in the stream

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  timestampNanos: number

                                                                                                                                                                                                                                  The timestamp for the message in nanoseconds. Convert with millis(n),

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  redelivered: boolean

                                                                                                                                                                                                                                  True if the message has been redelivered.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  stream: string

                                                                                                                                                                                                                                  The stream where the message came from

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  streamSequence: number

                                                                                                                                                                                                                                  The sequence number of the message in the stream

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  timestampNanos: number

                                                                                                                                                                                                                                  The timestamp for the message in nanoseconds. Convert with millis(n),

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/Destroyable.html b/docs/jetstream/types/Destroyable.html index ff39eac8..54d49cae 100644 --- a/docs/jetstream/types/Destroyable.html +++ b/docs/jetstream/types/Destroyable.html @@ -1,4 +1,4 @@ -Destroyable | @nats-io/jetstream
                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                    Type Alias Destroyable

                                                                                                                                                                                                                                    type Destroyable = {
                                                                                                                                                                                                                                        destroy(): Promise<void>;
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                    destroy +Destroyable | @nats-io/jetstream
                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                      Type Alias Destroyable

                                                                                                                                                                                                                                      type Destroyable = {
                                                                                                                                                                                                                                          destroy(): Promise<void>;
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                      • Destroys a resource on the server. Returns a promise that resolves to true whene the operation has been completed

                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                        Returns Promise<void>

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/DirectBatchLimits.html b/docs/jetstream/types/DirectBatchLimits.html index 2e7a8f77..343fa443 100644 --- a/docs/jetstream/types/DirectBatchLimits.html +++ b/docs/jetstream/types/DirectBatchLimits.html @@ -1,5 +1,5 @@ -DirectBatchLimits | @nats-io/jetstream
                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Type Alias DirectBatchLimits

                                                                                                                                                                                                                                        type DirectBatchLimits = {
                                                                                                                                                                                                                                            batch: number;
                                                                                                                                                                                                                                            callback: BatchCallback<StoredMsg>;
                                                                                                                                                                                                                                            max_bytes: number;
                                                                                                                                                                                                                                            next_by_subj?: string;
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        batch +DirectBatchLimits | @nats-io/jetstream
                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                          Type Alias DirectBatchLimits

                                                                                                                                                                                                                                          type DirectBatchLimits = {
                                                                                                                                                                                                                                              batch: number;
                                                                                                                                                                                                                                              callback: BatchCallback<StoredMsg>;
                                                                                                                                                                                                                                              max_bytes: number;
                                                                                                                                                                                                                                              next_by_subj?: string;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          batch: number
                                                                                                                                                                                                                                          max_bytes: number
                                                                                                                                                                                                                                          next_by_subj?: string
                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                          batch: number
                                                                                                                                                                                                                                          max_bytes: number
                                                                                                                                                                                                                                          next_by_subj?: string
                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/DirectBatchOptions.html b/docs/jetstream/types/DirectBatchOptions.html index adc13f32..90df48af 100644 --- a/docs/jetstream/types/DirectBatchOptions.html +++ b/docs/jetstream/types/DirectBatchOptions.html @@ -1 +1 @@ -DirectBatchOptions | @nats-io/jetstream
                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                            Type Alias DirectBatchOptions

                                                                                                                                                                                                                                            +DirectBatchOptions | @nats-io/jetstream
                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                              Type Alias DirectBatchOptions

                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/DirectBatchStartSeq.html b/docs/jetstream/types/DirectBatchStartSeq.html index e7c3b3c0..ec012363 100644 --- a/docs/jetstream/types/DirectBatchStartSeq.html +++ b/docs/jetstream/types/DirectBatchStartSeq.html @@ -1 +1 @@ -DirectBatchStartSeq | @nats-io/jetstream
                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                Type Alias DirectBatchStartSeq

                                                                                                                                                                                                                                                DirectBatchStartSeq: Partial<DirectBatchLimits> & {
                                                                                                                                                                                                                                                    seq: number;
                                                                                                                                                                                                                                                    start_time: never;
                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                +DirectBatchStartSeq | @nats-io/jetstream
                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                  Type Alias DirectBatchStartSeq

                                                                                                                                                                                                                                                  DirectBatchStartSeq: Partial<DirectBatchLimits> & {
                                                                                                                                                                                                                                                      seq: number;
                                                                                                                                                                                                                                                      start_time?: never;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/DirectBatchStartTime.html b/docs/jetstream/types/DirectBatchStartTime.html index 6d4dd896..59971c63 100644 --- a/docs/jetstream/types/DirectBatchStartTime.html +++ b/docs/jetstream/types/DirectBatchStartTime.html @@ -1 +1 @@ -DirectBatchStartTime | @nats-io/jetstream
                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                    Type Alias DirectBatchStartTime

                                                                                                                                                                                                                                                    DirectBatchStartTime: Partial<DirectBatchLimits> & {
                                                                                                                                                                                                                                                        seq: never;
                                                                                                                                                                                                                                                        start_time: Date | string;
                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                    +DirectBatchStartTime | @nats-io/jetstream
                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                      Type Alias DirectBatchStartTime

                                                                                                                                                                                                                                                      DirectBatchStartTime: Partial<DirectBatchLimits> & {
                                                                                                                                                                                                                                                          seq?: never;
                                                                                                                                                                                                                                                          start_time: Date | string;
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/DirectLastFor.html b/docs/jetstream/types/DirectLastFor.html index 4b858755..c410b23f 100644 --- a/docs/jetstream/types/DirectLastFor.html +++ b/docs/jetstream/types/DirectLastFor.html @@ -1 +1 @@ -DirectLastFor | @nats-io/jetstream
                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                        Type Alias DirectLastFor

                                                                                                                                                                                                                                                        DirectLastFor: {
                                                                                                                                                                                                                                                            multi_last: string[];
                                                                                                                                                                                                                                                            up_to_seq?: number;
                                                                                                                                                                                                                                                            up_to_time?: Date | string;
                                                                                                                                                                                                                                                        } & Partial<DirectBatchLimits>
                                                                                                                                                                                                                                                        +DirectLastFor | @nats-io/jetstream
                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                          Type Alias DirectLastFor

                                                                                                                                                                                                                                                          DirectLastFor: {
                                                                                                                                                                                                                                                              multi_last: string[];
                                                                                                                                                                                                                                                              up_to_seq?: number;
                                                                                                                                                                                                                                                              up_to_time?: Date | string;
                                                                                                                                                                                                                                                          } & Partial<DirectBatchLimits>
                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/DirectMsgHeaders.html b/docs/jetstream/types/DirectMsgHeaders.html index d4ba9eb4..26c18ae5 100644 --- a/docs/jetstream/types/DirectMsgHeaders.html +++ b/docs/jetstream/types/DirectMsgHeaders.html @@ -1 +1 @@ -DirectMsgHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                            Type Alias DirectMsgHeaders

                                                                                                                                                                                                                                                            DirectMsgHeaders: typeof DirectMsgHeaders[keyof typeof DirectMsgHeaders]
                                                                                                                                                                                                                                                            +DirectMsgHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                              Type Alias DirectMsgHeaders

                                                                                                                                                                                                                                                              DirectMsgHeaders: typeof DirectMsgHeaders[keyof typeof DirectMsgHeaders]
                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/DirectMsgRequest.html b/docs/jetstream/types/DirectMsgRequest.html index 4725e889..dbd2f28a 100644 --- a/docs/jetstream/types/DirectMsgRequest.html +++ b/docs/jetstream/types/DirectMsgRequest.html @@ -1 +1 @@ -DirectMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                Type Alias DirectMsgRequest

                                                                                                                                                                                                                                                                DirectMsgRequest:
                                                                                                                                                                                                                                                                    | SeqMsgRequest
                                                                                                                                                                                                                                                                    | LastForMsgRequest
                                                                                                                                                                                                                                                                    | NextMsgRequest
                                                                                                                                                                                                                                                                    | StartTimeMsgRequest
                                                                                                                                                                                                                                                                +DirectMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                  Type Alias DirectMsgRequest

                                                                                                                                                                                                                                                                  DirectMsgRequest:
                                                                                                                                                                                                                                                                      | SeqMsgRequest
                                                                                                                                                                                                                                                                      | LastForMsgRequest
                                                                                                                                                                                                                                                                      | NextMsgRequest
                                                                                                                                                                                                                                                                      | StartTimeMsgRequest
                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/DirectStreamAPI.html b/docs/jetstream/types/DirectStreamAPI.html index 30a7b722..4e62db65 100644 --- a/docs/jetstream/types/DirectStreamAPI.html +++ b/docs/jetstream/types/DirectStreamAPI.html @@ -6,20 +6,20 @@ these APIs are subject to change.

                                                                                                                                                                                                                                                                  Note that these API can retrieve values from any replica, so it is possible for a lookup after an update to not include the message that was just added.

                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                  type DirectStreamAPI = {
                                                                                                                                                                                                                                                                      getBatch(
                                                                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                                                                          opts: DirectBatchOptions,
                                                                                                                                                                                                                                                                      ): Promise<QueuedIterator<StoredMsg>>;
                                                                                                                                                                                                                                                                      getLastMessagesFor(
                                                                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                                                                          opts: DirectLastFor,
                                                                                                                                                                                                                                                                      ): Promise<QueuedIterator<StoredMsg>>;
                                                                                                                                                                                                                                                                      getMessage(stream: string, query: DirectMsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                  type DirectStreamAPI = {
                                                                                                                                                                                                                                                                      getBatch(
                                                                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                                                                          opts: DirectBatchOptions,
                                                                                                                                                                                                                                                                      ): Promise<QueuedIterator<StoredMsg>>;
                                                                                                                                                                                                                                                                      getLastMessagesFor(
                                                                                                                                                                                                                                                                          stream: string,
                                                                                                                                                                                                                                                                          opts: DirectLastFor,
                                                                                                                                                                                                                                                                      ): Promise<QueuedIterator<StoredMsg>>;
                                                                                                                                                                                                                                                                      getMessage(stream: string, query: DirectMsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                  • Retrieves a batch of messages with an optional filter starting at a specific sequence or start time. Note that only a single subject filter is supported.

                                                                                                                                                                                                                                                                    This API is Non-Stable and subject to change.

                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                    Returns Promise<QueuedIterator<StoredMsg>>

                                                                                                                                                                                                                                                                  • Retrieves the last message for each subject in the filter. +

                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                    Returns Promise<QueuedIterator<StoredMsg>>

                                                                                                                                                                                                                                                                  • Retrieves the last message for each subject in the filter. If no filter is specified, a maximum of 1024 subjects are returned. Care should be given on the specified filters to ensure that the results match what the client is expecting and to avoid missing expected data.

                                                                                                                                                                                                                                                                    This API is Non-Stable and subject to change.

                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                    Returns Promise<QueuedIterator<StoredMsg>>

                                                                                                                                                                                                                                                                  • Retrieves the message matching the specified query. Messages can be +

                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                    Returns Promise<QueuedIterator<StoredMsg>>

                                                                                                                                                                                                                                                                  • Retrieves the message matching the specified query. Messages can be retrieved by sequence number or by last sequence matching a subject, or by looking for the next message sequence that matches a subject.

                                                                                                                                                                                                                                                                    This API is Non-Stable and subject to change.

                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                    Returns Promise<StoredMsg>

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  Parameters

                                                                                                                                                                                                                                                                  Returns Promise<StoredMsg>

                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/Discard.html b/docs/jetstream/types/Discard.html index fcd14af6..5e8e86a4 100644 --- a/docs/jetstream/types/Discard.html +++ b/docs/jetstream/types/Discard.html @@ -1,7 +1,7 @@ Discard | @nats-io/jetstream
                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                    Type Alias Discard

                                                                                                                                                                                                                                                                    Requests for messages can be terminated by the server, these notifications provide information on the number of messages and/or bytes that couldn't be satisfied by the consumer request.

                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                    type Discard = {
                                                                                                                                                                                                                                                                        bytesLeft: number;
                                                                                                                                                                                                                                                                        messagesLeft: number;
                                                                                                                                                                                                                                                                        type: "discard";
                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                    type Discard = {
                                                                                                                                                                                                                                                                        bytesLeft: number;
                                                                                                                                                                                                                                                                        messagesLeft: number;
                                                                                                                                                                                                                                                                        type: "discard";
                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                    bytesLeft: number
                                                                                                                                                                                                                                                                    messagesLeft: number
                                                                                                                                                                                                                                                                    type: "discard"
                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                    bytesLeft: number
                                                                                                                                                                                                                                                                    messagesLeft: number
                                                                                                                                                                                                                                                                    type: "discard"
                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/DiscardPolicy.html b/docs/jetstream/types/DiscardPolicy.html index c46650b2..84b90f9b 100644 --- a/docs/jetstream/types/DiscardPolicy.html +++ b/docs/jetstream/types/DiscardPolicy.html @@ -1 +1 @@ -DiscardPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                      Type Alias DiscardPolicy

                                                                                                                                                                                                                                                                      DiscardPolicy: typeof DiscardPolicy[keyof typeof DiscardPolicy]
                                                                                                                                                                                                                                                                      +DiscardPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Type Alias DiscardPolicy

                                                                                                                                                                                                                                                                        DiscardPolicy: typeof DiscardPolicy[keyof typeof DiscardPolicy]
                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/ExceededLimits.html b/docs/jetstream/types/ExceededLimits.html index 970c775e..8ee7e6dc 100644 --- a/docs/jetstream/types/ExceededLimits.html +++ b/docs/jetstream/types/ExceededLimits.html @@ -1,7 +1,7 @@ ExceededLimits | @nats-io/jetstream
                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                          Type Alias ExceededLimits

                                                                                                                                                                                                                                                                          This notification is specific to pull consumers and will be notified whenever the pull request exceeds some limit such as maxwaiting, maxrequestbatch, etc. The data component has the code (409) and the message from the server.

                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                          type ExceededLimits = {
                                                                                                                                                                                                                                                                              code: number;
                                                                                                                                                                                                                                                                              description: string;
                                                                                                                                                                                                                                                                              type: "exceeded_limits";
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          type ExceededLimits = {
                                                                                                                                                                                                                                                                              code: number;
                                                                                                                                                                                                                                                                              description: string;
                                                                                                                                                                                                                                                                              type: "exceeded_limits";
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          code: number
                                                                                                                                                                                                                                                                          description: string
                                                                                                                                                                                                                                                                          type: "exceeded_limits"
                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          code: number
                                                                                                                                                                                                                                                                          description: string
                                                                                                                                                                                                                                                                          type: "exceeded_limits"
                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/Expires.html b/docs/jetstream/types/Expires.html index be0d7576..b3828e50 100644 --- a/docs/jetstream/types/Expires.html +++ b/docs/jetstream/types/Expires.html @@ -1,9 +1,9 @@ -Expires | @nats-io/jetstream
                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                            Type Alias Expires

                                                                                                                                                                                                                                                                            type Expires = {
                                                                                                                                                                                                                                                                                expires?: number;
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                            expires?: number

                                                                                                                                                                                                                                                                            Amount of milliseconds to wait for messages before issuing another request. +Expires | @nats-io/jetstream

                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Type Alias Expires

                                                                                                                                                                                                                                                                              type Expires = {
                                                                                                                                                                                                                                                                                  expires?: number;
                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                              expires?: number

                                                                                                                                                                                                                                                                              Number of milliseconds to wait for messages before issuing another request. Note this value shouldn't be set by the user, as the default provides proper behavior. A low value will stress the server.

                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                              Minimum value is 1000 (1s).

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              The minimum value is 1000 (1s).

                                                                                                                                                                                                                                                                              30_000 (30s)
                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/ExportedConsumer.html b/docs/jetstream/types/ExportedConsumer.html index 09fb9910..853c3230 100644 --- a/docs/jetstream/types/ExportedConsumer.html +++ b/docs/jetstream/types/ExportedConsumer.html @@ -1 +1 @@ -ExportedConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                Type Alias ExportedConsumer

                                                                                                                                                                                                                                                                                ExportedConsumer: ConsumerKind & {
                                                                                                                                                                                                                                                                                    consume(opts?: ConsumeOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                    fetch(opts?: FetchOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                    next(opts?: NextOptions): Promise<JsMsg>;
                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                +ExportedConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Type Alias ExportedConsumer

                                                                                                                                                                                                                                                                                  ExportedConsumer: ConsumerKind & {
                                                                                                                                                                                                                                                                                      consume(opts?: ConsumeOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                      fetch(opts?: FetchOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                      next(opts?: NextOptions): Promise<JsMsg>;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/ExternalStream.html b/docs/jetstream/types/ExternalStream.html index dd983030..71488462 100644 --- a/docs/jetstream/types/ExternalStream.html +++ b/docs/jetstream/types/ExternalStream.html @@ -1,6 +1,6 @@ -ExternalStream | @nats-io/jetstream
                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Type Alias ExternalStream

                                                                                                                                                                                                                                                                                    type ExternalStream = {
                                                                                                                                                                                                                                                                                        api: string;
                                                                                                                                                                                                                                                                                        deliver?: string;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                    api +ExternalStream | @nats-io/jetstream
                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Type Alias ExternalStream

                                                                                                                                                                                                                                                                                      type ExternalStream = {
                                                                                                                                                                                                                                                                                          api: string;
                                                                                                                                                                                                                                                                                          deliver?: string;
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      api: string

                                                                                                                                                                                                                                                                                      API prefix for the remote stream - the API prefix should be something like `$JS.domain.API where domain is the JetStream domain on the NATS server configuration.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      deliver?: string

                                                                                                                                                                                                                                                                                      Deliver prefix for the remote stream

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      deliver?: string

                                                                                                                                                                                                                                                                                      Deliver prefix for the remote stream

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/FetchBytes.html b/docs/jetstream/types/FetchBytes.html index 7687fe54..7ff3a920 100644 --- a/docs/jetstream/types/FetchBytes.html +++ b/docs/jetstream/types/FetchBytes.html @@ -1,2 +1,2 @@ -FetchBytes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Type Alias FetchBytes

                                                                                                                                                                                                                                                                                        FetchBytes: MaxBytes & Partial<MaxMessages> & Expires & IdleHeartbeat & Bind & Partial<
                                                                                                                                                                                                                                                                                            OverflowOptions,
                                                                                                                                                                                                                                                                                        >

                                                                                                                                                                                                                                                                                        Options for fetching bytes

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        +FetchBytes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Type Alias FetchBytes

                                                                                                                                                                                                                                                                                          FetchBytes: MaxBytes & Partial<MaxMessages> & Expires & IdleHeartbeat & Bind & Partial<
                                                                                                                                                                                                                                                                                              OverflowOptions,
                                                                                                                                                                                                                                                                                          > & Partial<PrioritizedOptions>

                                                                                                                                                                                                                                                                                          Options for fetching bytes

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/FetchMessages.html b/docs/jetstream/types/FetchMessages.html index f509b150..e23a0adf 100644 --- a/docs/jetstream/types/FetchMessages.html +++ b/docs/jetstream/types/FetchMessages.html @@ -1,2 +1,2 @@ -FetchMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                            Type Alias FetchMessages

                                                                                                                                                                                                                                                                                            FetchMessages: Partial<MaxMessages> & Expires & IdleHeartbeat & Bind & Partial<
                                                                                                                                                                                                                                                                                                OverflowOptions,
                                                                                                                                                                                                                                                                                            >

                                                                                                                                                                                                                                                                                            Options for fetching messages

                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                            +FetchMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Type Alias FetchMessages

                                                                                                                                                                                                                                                                                              FetchMessages: Partial<MaxMessages> & Expires & IdleHeartbeat & Bind & Partial<
                                                                                                                                                                                                                                                                                                  OverflowOptions,
                                                                                                                                                                                                                                                                                              > & Partial<PrioritizedOptions>

                                                                                                                                                                                                                                                                                              Options for fetching messages

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/FetchOptions.html b/docs/jetstream/types/FetchOptions.html index e5ff57f0..56e6f280 100644 --- a/docs/jetstream/types/FetchOptions.html +++ b/docs/jetstream/types/FetchOptions.html @@ -1 +1 @@ -FetchOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Type Alias FetchOptions

                                                                                                                                                                                                                                                                                                FetchOptions: FetchBytes | FetchMessages
                                                                                                                                                                                                                                                                                                +FetchOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Type Alias FetchOptions

                                                                                                                                                                                                                                                                                                  FetchOptions: FetchBytes | FetchMessages
                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/FlowControl.html b/docs/jetstream/types/FlowControl.html index 9c465607..c9566cc1 100644 --- a/docs/jetstream/types/FlowControl.html +++ b/docs/jetstream/types/FlowControl.html @@ -1,4 +1,4 @@ FlowControl | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Type Alias FlowControl

                                                                                                                                                                                                                                                                                                    Notifies that the client received a server-side flow control message. The data is null.

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                    type FlowControl = {
                                                                                                                                                                                                                                                                                                        type: "flow_control";
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    type: "flow_control"
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    type FlowControl = {
                                                                                                                                                                                                                                                                                                        type: "flow_control";
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    type: "flow_control"
                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/Heartbeat.html b/docs/jetstream/types/Heartbeat.html index 6e0ae8ca..12c03a66 100644 --- a/docs/jetstream/types/Heartbeat.html +++ b/docs/jetstream/types/Heartbeat.html @@ -1,6 +1,6 @@ Heartbeat | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Type Alias Heartbeat

                                                                                                                                                                                                                                                                                                      Notifies that the client received a server-side heartbeat. The payload the data portion has the format {natsLastConsumer: number, natsLastStream: number};

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      type Heartbeat = {
                                                                                                                                                                                                                                                                                                          lastConsumerSequence: number;
                                                                                                                                                                                                                                                                                                          lastStreamSequence: number;
                                                                                                                                                                                                                                                                                                          type: "heartbeat";
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      type Heartbeat = {
                                                                                                                                                                                                                                                                                                          lastConsumerSequence: number;
                                                                                                                                                                                                                                                                                                          lastStreamSequence: number;
                                                                                                                                                                                                                                                                                                          type: "heartbeat";
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      lastConsumerSequence: number
                                                                                                                                                                                                                                                                                                      lastStreamSequence: number
                                                                                                                                                                                                                                                                                                      type: "heartbeat"
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      lastConsumerSequence: number
                                                                                                                                                                                                                                                                                                      lastStreamSequence: number
                                                                                                                                                                                                                                                                                                      type: "heartbeat"
                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/HeartbeatsMissed.html b/docs/jetstream/types/HeartbeatsMissed.html index 177d04d5..64f920e1 100644 --- a/docs/jetstream/types/HeartbeatsMissed.html +++ b/docs/jetstream/types/HeartbeatsMissed.html @@ -2,6 +2,6 @@ The data portion of the status, is a number indicating the number of missed heartbeats. Note that when a client disconnects, heartbeat tracking is paused while the client is disconnected.

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      type HeartbeatsMissed = {
                                                                                                                                                                                                                                                                                                          count: number;
                                                                                                                                                                                                                                                                                                          type: "heartbeats_missed";
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      type HeartbeatsMissed = {
                                                                                                                                                                                                                                                                                                          count: number;
                                                                                                                                                                                                                                                                                                          type: "heartbeats_missed";
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      count: number
                                                                                                                                                                                                                                                                                                      type: "heartbeats_missed"
                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      count: number
                                                                                                                                                                                                                                                                                                      type: "heartbeats_missed"
                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/IdleHeartbeat.html b/docs/jetstream/types/IdleHeartbeat.html index 4d38221d..01e53aa6 100644 --- a/docs/jetstream/types/IdleHeartbeat.html +++ b/docs/jetstream/types/IdleHeartbeat.html @@ -1,6 +1,6 @@ -IdleHeartbeat | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Type Alias IdleHeartbeat

                                                                                                                                                                                                                                                                                                        type IdleHeartbeat = {
                                                                                                                                                                                                                                                                                                            idle_heartbeat?: number;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                        idle_heartbeat? +IdleHeartbeat | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Type Alias IdleHeartbeat

                                                                                                                                                                                                                                                                                                          type IdleHeartbeat = {
                                                                                                                                                                                                                                                                                                              idle_heartbeat?: number;
                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                          idle_heartbeat?: number

                                                                                                                                                                                                                                                                                                          Number of milliseconds to wait for a server heartbeat when not actively receiving messages. When two or more heartbeats are missed in a row, the consumer will emit a notification. Note this value shouldn't be set by the user, as the default provides the proper behavior. A low value will stress the server.

                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/InfoableConsumer.html b/docs/jetstream/types/InfoableConsumer.html index 79bd6667..c4966221 100644 --- a/docs/jetstream/types/InfoableConsumer.html +++ b/docs/jetstream/types/InfoableConsumer.html @@ -1,2 +1,2 @@ -InfoableConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Type Alias InfoableConsumer

                                                                                                                                                                                                                                                                                                            type InfoableConsumer = {
                                                                                                                                                                                                                                                                                                                info(cached?: boolean): Promise<ConsumerInfo>;
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                            • Parameters

                                                                                                                                                                                                                                                                                                              • Optionalcached: boolean

                                                                                                                                                                                                                                                                                                              Returns Promise<ConsumerInfo>

                                                                                                                                                                                                                                                                                                            +InfoableConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Type Alias InfoableConsumer

                                                                                                                                                                                                                                                                                                              type InfoableConsumer = {
                                                                                                                                                                                                                                                                                                                  info(cached?: boolean): Promise<ConsumerInfo>;
                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                              • Parameters

                                                                                                                                                                                                                                                                                                                • Optionalcached: boolean

                                                                                                                                                                                                                                                                                                                Returns Promise<ConsumerInfo>

                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/JetStreamAccountStats.html b/docs/jetstream/types/JetStreamAccountStats.html index 4f3895ac..a000eb80 100644 --- a/docs/jetstream/types/JetStreamAccountStats.html +++ b/docs/jetstream/types/JetStreamAccountStats.html @@ -1 +1 @@ -JetStreamAccountStats | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                Type Alias JetStreamAccountStats

                                                                                                                                                                                                                                                                                                                JetStreamAccountStats: JetStreamUsageAccountLimits & {
                                                                                                                                                                                                                                                                                                                    api: JetStreamApiStats;
                                                                                                                                                                                                                                                                                                                    domain?: string;
                                                                                                                                                                                                                                                                                                                    tiers?: {
                                                                                                                                                                                                                                                                                                                        R1?: JetStreamUsageAccountLimits;
                                                                                                                                                                                                                                                                                                                        R3?: JetStreamUsageAccountLimits;
                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                +JetStreamAccountStats | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Type Alias JetStreamAccountStats

                                                                                                                                                                                                                                                                                                                  JetStreamAccountStats: JetStreamUsageAccountLimits & {
                                                                                                                                                                                                                                                                                                                      api: JetStreamApiStats;
                                                                                                                                                                                                                                                                                                                      domain?: string;
                                                                                                                                                                                                                                                                                                                      tiers?: {
                                                                                                                                                                                                                                                                                                                          R1?: JetStreamUsageAccountLimits;
                                                                                                                                                                                                                                                                                                                          R3?: JetStreamUsageAccountLimits;
                                                                                                                                                                                                                                                                                                                      };
                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/JetStreamApiCodes.html b/docs/jetstream/types/JetStreamApiCodes.html index bccd90b5..bdc6a85a 100644 --- a/docs/jetstream/types/JetStreamApiCodes.html +++ b/docs/jetstream/types/JetStreamApiCodes.html @@ -1 +1 @@ -JetStreamApiCodes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Type Alias JetStreamApiCodes

                                                                                                                                                                                                                                                                                                                    JetStreamApiCodes: typeof JetStreamApiCodes[keyof typeof JetStreamApiCodes]
                                                                                                                                                                                                                                                                                                                    +JetStreamApiCodes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Type Alias JetStreamApiCodes

                                                                                                                                                                                                                                                                                                                      JetStreamApiCodes: typeof JetStreamApiCodes[keyof typeof JetStreamApiCodes]
                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/JetStreamApiStats.html b/docs/jetstream/types/JetStreamApiStats.html index ee6a8cd6..10ab4916 100644 --- a/docs/jetstream/types/JetStreamApiStats.html +++ b/docs/jetstream/types/JetStreamApiStats.html @@ -1,5 +1,5 @@ -JetStreamApiStats | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                        Type Alias JetStreamApiStats

                                                                                                                                                                                                                                                                                                                        type JetStreamApiStats = {
                                                                                                                                                                                                                                                                                                                            errors: number;
                                                                                                                                                                                                                                                                                                                            total: number;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        errors +JetStreamApiStats | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                          Type Alias JetStreamApiStats

                                                                                                                                                                                                                                                                                                                          type JetStreamApiStats = {
                                                                                                                                                                                                                                                                                                                              errors: number;
                                                                                                                                                                                                                                                                                                                              total: number;
                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                          errors: number

                                                                                                                                                                                                                                                                                                                          "API requests that resulted in an error response"

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          total: number

                                                                                                                                                                                                                                                                                                                          Total number of API requests received for this account

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          total: number

                                                                                                                                                                                                                                                                                                                          Total number of API requests received for this account

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/JetStreamClient.html b/docs/jetstream/types/JetStreamClient.html index d4d33e1e..2df5e974 100644 --- a/docs/jetstream/types/JetStreamClient.html +++ b/docs/jetstream/types/JetStreamClient.html @@ -1,20 +1,24 @@ JetStreamClient | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                            Type Alias JetStreamClient

                                                                                                                                                                                                                                                                                                                            A type for interacting data stored in JetStream

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            type JetStreamClient = {
                                                                                                                                                                                                                                                                                                                                apiPrefix: string;
                                                                                                                                                                                                                                                                                                                                consumers: Consumers;
                                                                                                                                                                                                                                                                                                                                streams: Streams;
                                                                                                                                                                                                                                                                                                                                getOptions(): JetStreamOptions;
                                                                                                                                                                                                                                                                                                                                jetstreamManager(checkAPI?: boolean): Promise<JetStreamManager>;
                                                                                                                                                                                                                                                                                                                                publish(
                                                                                                                                                                                                                                                                                                                                    subj: string,
                                                                                                                                                                                                                                                                                                                                    payload?: Payload,
                                                                                                                                                                                                                                                                                                                                    options?: Partial<JetStreamPublishOptions>,
                                                                                                                                                                                                                                                                                                                                ): Promise<PubAck>;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            type JetStreamClient = {
                                                                                                                                                                                                                                                                                                                                apiPrefix: string;
                                                                                                                                                                                                                                                                                                                                consumers: Consumers;
                                                                                                                                                                                                                                                                                                                                streams: Streams;
                                                                                                                                                                                                                                                                                                                                getOptions(): JetStreamOptions;
                                                                                                                                                                                                                                                                                                                                jetstreamManager(checkAPI?: boolean): Promise<JetStreamManager>;
                                                                                                                                                                                                                                                                                                                                publish(
                                                                                                                                                                                                                                                                                                                                    subj: string,
                                                                                                                                                                                                                                                                                                                                    payload?: Payload,
                                                                                                                                                                                                                                                                                                                                    options?: Partial<JetStreamPublishOptions>,
                                                                                                                                                                                                                                                                                                                                ): Promise<PubAck>;
                                                                                                                                                                                                                                                                                                                                startBatch(
                                                                                                                                                                                                                                                                                                                                    subj: string,
                                                                                                                                                                                                                                                                                                                                    payload?: Payload,
                                                                                                                                                                                                                                                                                                                                    opts?: Partial<JetStreamPublishOptions>,
                                                                                                                                                                                                                                                                                                                                ): Promise<Batch>;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            apiPrefix: string

                                                                                                                                                                                                                                                                                                                            Returns the JS API prefix as processed from the JetStream Options

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            consumers: Consumers

                                                                                                                                                                                                                                                                                                                            Returns an object for accessing Consumers. Consumers +

                                                                                                                                                                                                                                                                                                                            consumers: Consumers

                                                                                                                                                                                                                                                                                                                            Returns an object for accessing Consumers. Consumers allow you to process messages stored in a stream. To create a consumer use JetStreamManager.

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            streams: Streams

                                                                                                                                                                                                                                                                                                                            Returns an object for accessing Streams.

                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                            • Returns a JetStreamManager that uses the same JetStreamOptions +

                                                                                                                                                                                                                                                                                                                            streams: Streams

                                                                                                                                                                                                                                                                                                                            Returns an object for accessing Streams.

                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                            • Returns a JetStreamManager that uses the same JetStreamOptions as the current JetStream context

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                                                                                                                                              • OptionalcheckAPI: boolean

                                                                                                                                                                                                                                                                                                                              Returns Promise<JetStreamManager>

                                                                                                                                                                                                                                                                                                                            • Publishes a message to a stream. If not stream is configured to store the message, the +

                                                                                                                                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                                                                                                                                              • OptionalcheckAPI: boolean

                                                                                                                                                                                                                                                                                                                              Returns Promise<JetStreamManager>

                                                                                                                                                                                                                                                                                                                            • Publishes a message to a stream. If not stream is configured to store the message, the request will fail with RequestError error with a nested NoRespondersError.

                                                                                                                                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                                                                                                                                              • subj: string

                                                                                                                                                                                                                                                                                                                                the subject for the message

                                                                                                                                                                                                                                                                                                                              • Optionalpayload: Payload

                                                                                                                                                                                                                                                                                                                                the message's data

                                                                                                                                                                                                                                                                                                                              • Optionaloptions: Partial<JetStreamPublishOptions>

                                                                                                                                                                                                                                                                                                                                the optional message

                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                              Returns Promise<PubAck>

                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                            Returns Promise<PubAck>

                                                                                                                                                                                                                                                                                                                            • Starts a batch publish operation on a stream by publishing this first message. +Additional messages are added to the batch using the returned Batch API and +committing the batch.

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                                                                                                                                              Returns Promise<Batch>

                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/JetStreamManager.html b/docs/jetstream/types/JetStreamManager.html index 34a5f7bd..be9eae11 100644 --- a/docs/jetstream/types/JetStreamManager.html +++ b/docs/jetstream/types/JetStreamManager.html @@ -1,5 +1,5 @@ JetStreamManager | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Type Alias JetStreamManager

                                                                                                                                                                                                                                                                                                                              The API for interacting with JetStream resources

                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                              type JetStreamManager = {
                                                                                                                                                                                                                                                                                                                                  consumers: ConsumerAPI;
                                                                                                                                                                                                                                                                                                                                  direct: DirectStreamAPI;
                                                                                                                                                                                                                                                                                                                                  streams: StreamAPI;
                                                                                                                                                                                                                                                                                                                                  advisories(): AsyncIterable<Advisory>;
                                                                                                                                                                                                                                                                                                                                  getAccountInfo(): Promise<JetStreamAccountStats>;
                                                                                                                                                                                                                                                                                                                                  getOptions(): JetStreamOptions;
                                                                                                                                                                                                                                                                                                                                  jetstream(): JetStreamClient;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                              type JetStreamManager = {
                                                                                                                                                                                                                                                                                                                                  consumers: ConsumerAPI;
                                                                                                                                                                                                                                                                                                                                  direct: DirectStreamAPI;
                                                                                                                                                                                                                                                                                                                                  streams: StreamAPI;
                                                                                                                                                                                                                                                                                                                                  advisories(): AsyncIterable<Advisory>;
                                                                                                                                                                                                                                                                                                                                  getAccountInfo(): Promise<JetStreamAccountStats>;
                                                                                                                                                                                                                                                                                                                                  getOptions(): JetStreamOptions;
                                                                                                                                                                                                                                                                                                                                  jetstream(): JetStreamClient;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                              advisories @@ -7,16 +7,16 @@ getOptions jetstream

                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                              consumers: ConsumerAPI

                                                                                                                                                                                                                                                                                                                              JetStream API to interact with Consumers

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              API for accessing messages in a stream without using a Consumer. +

                                                                                                                                                                                                                                                                                                                              API for accessing messages in a stream without using a Consumer. This API can retrieve values from any of the stream replicas, which means that it may not reflect inflight changes to the stream. Direct APIs require the stream to have the direct option enabled.

                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                              streams: StreamAPI

                                                                                                                                                                                                                                                                                                                              JetStream API to interact with Streams

                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                              • Returns an async iteartor

                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                Returns AsyncIterable<Advisory>

                                                                                                                                                                                                                                                                                                                              streams: StreamAPI

                                                                                                                                                                                                                                                                                                                              JetStream API to interact with Streams

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                              • Returns an async iteartor

                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Returns AsyncIterable<Advisory>

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Returns JetStreamClient

                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/JetStreamManagerOptions.html b/docs/jetstream/types/JetStreamManagerOptions.html index 03752738..f6cf0c29 100644 --- a/docs/jetstream/types/JetStreamManagerOptions.html +++ b/docs/jetstream/types/JetStreamManagerOptions.html @@ -1,3 +1,3 @@ JetStreamManagerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                Type Alias JetStreamManagerOptions

                                                                                                                                                                                                                                                                                                                                JetStreamManagerOptions: JetStreamOptions & { checkAPI?: boolean }

                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                • OptionalcheckAPI?: boolean

                                                                                                                                                                                                                                                                                                                                  Allows disabling a check on the account for JetStream enablement see ().

                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/JetStreamOptions.html b/docs/jetstream/types/JetStreamOptions.html index 31d6477d..9021ed9b 100644 --- a/docs/jetstream/types/JetStreamOptions.html +++ b/docs/jetstream/types/JetStreamOptions.html @@ -1,13 +1,13 @@ -JetStreamOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                  Type Alias JetStreamOptions

                                                                                                                                                                                                                                                                                                                                  type JetStreamOptions = {
                                                                                                                                                                                                                                                                                                                                      apiPrefix?: string;
                                                                                                                                                                                                                                                                                                                                      domain?: string;
                                                                                                                                                                                                                                                                                                                                      timeout?: number;
                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                  apiPrefix? +JetStreamOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                    Type Alias JetStreamOptions

                                                                                                                                                                                                                                                                                                                                    type JetStreamOptions = {
                                                                                                                                                                                                                                                                                                                                        apiPrefix?: string;
                                                                                                                                                                                                                                                                                                                                        domain?: string;
                                                                                                                                                                                                                                                                                                                                        timeout?: number;
                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                    apiPrefix?: string

                                                                                                                                                                                                                                                                                                                                    Prefix required to interact with JetStream. Must match server configuration.

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    domain?: string

                                                                                                                                                                                                                                                                                                                                    Name of the JetStream domain. This value automatically modifies +

                                                                                                                                                                                                                                                                                                                                    domain?: string

                                                                                                                                                                                                                                                                                                                                    Name of the JetStream domain. This value automatically modifies the default JetStream apiPrefix.

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    timeout?: number

                                                                                                                                                                                                                                                                                                                                    Number of milliseconds to wait for a JetStream API request.

                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    timeout?: number

                                                                                                                                                                                                                                                                                                                                    Number of milliseconds to wait for a JetStream API request.

                                                                                                                                                                                                                                                                                                                                    ConnectionOptions.timeout
                                                                                                                                                                                                                                                                                                                                     

                                                                                                                                                                                                                                                                                                                                    ConnectionOptions.timeout

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/JetStreamPublishOptions.html b/docs/jetstream/types/JetStreamPublishOptions.html index d4de71a0..16041857 100644 --- a/docs/jetstream/types/JetStreamPublishOptions.html +++ b/docs/jetstream/types/JetStreamPublishOptions.html @@ -1,20 +1,26 @@ JetStreamPublishOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                      Type Alias JetStreamPublishOptions

                                                                                                                                                                                                                                                                                                                                      Options for messages published to JetStream

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      type JetStreamPublishOptions = {
                                                                                                                                                                                                                                                                                                                                          expect: Partial<
                                                                                                                                                                                                                                                                                                                                              {
                                                                                                                                                                                                                                                                                                                                                  lastMsgID: string;
                                                                                                                                                                                                                                                                                                                                                  lastSequence: number;
                                                                                                                                                                                                                                                                                                                                                  lastSubjectSequence: number;
                                                                                                                                                                                                                                                                                                                                                  streamName: string;
                                                                                                                                                                                                                                                                                                                                              },
                                                                                                                                                                                                                                                                                                                                          >;
                                                                                                                                                                                                                                                                                                                                          headers: MsgHdrs;
                                                                                                                                                                                                                                                                                                                                          msgID: string;
                                                                                                                                                                                                                                                                                                                                          retries?: number;
                                                                                                                                                                                                                                                                                                                                          timeout: number;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                      type JetStreamPublishOptions = {
                                                                                                                                                                                                                                                                                                                                          expect: Partial<StreamExpectations>;
                                                                                                                                                                                                                                                                                                                                          headers: MsgHdrs;
                                                                                                                                                                                                                                                                                                                                          msgID: string;
                                                                                                                                                                                                                                                                                                                                          retries?: number;
                                                                                                                                                                                                                                                                                                                                          schedule?: ScheduleOptions;
                                                                                                                                                                                                                                                                                                                                          timeout: number;
                                                                                                                                                                                                                                                                                                                                          ttl?: string;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                      expect: Partial<
                                                                                                                                                                                                                                                                                                                                          {
                                                                                                                                                                                                                                                                                                                                              lastMsgID: string;
                                                                                                                                                                                                                                                                                                                                              lastSequence: number;
                                                                                                                                                                                                                                                                                                                                              lastSubjectSequence: number;
                                                                                                                                                                                                                                                                                                                                              streamName: string;
                                                                                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                                                                                      >

                                                                                                                                                                                                                                                                                                                                      Set of constraints that when specified are verified by the server. +ttl? +

                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                      expect: Partial<StreamExpectations>

                                                                                                                                                                                                                                                                                                                                      Set of constraints that when specified are verified by the server. If the constraint(s) doesn't match, the server will reject the message. These settings allow you to implement deduplication and consistency strategies.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      headers: MsgHdrs

                                                                                                                                                                                                                                                                                                                                      Headers associated with the message. You can create an instance of +

                                                                                                                                                                                                                                                                                                                                      headers: MsgHdrs

                                                                                                                                                                                                                                                                                                                                      Headers associated with the message. You can create an instance of MsgHdrs with the headers() function.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      msgID: string

                                                                                                                                                                                                                                                                                                                                      A string identifier used to detect duplicate published messages. +

                                                                                                                                                                                                                                                                                                                                      msgID: string

                                                                                                                                                                                                                                                                                                                                      A string identifier used to detect duplicate published messages. If the msgID is reused within the stream's duplicate_window, the message will be rejected by the stream, and the PubAck will mark it as a duplicate.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      retries?: number

                                                                                                                                                                                                                                                                                                                                      Continue to attempt to publish if the publish fails due to a no responders error. +

                                                                                                                                                                                                                                                                                                                                      retries?: number

                                                                                                                                                                                                                                                                                                                                      Continue to attempt to publish if the publish fails due to a no responders error. Default is 1.

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      timeout: number

                                                                                                                                                                                                                                                                                                                                      The number of milliseconds to wait for the PubAck

                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      schedule?: ScheduleOptions

                                                                                                                                                                                                                                                                                                                                      Specifies the schedule for the message.

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      timeout: number

                                                                                                                                                                                                                                                                                                                                      The number of milliseconds to wait for the PubAck

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      ttl?: string

                                                                                                                                                                                                                                                                                                                                      Sets PubHeaders.MessageTTL this only applies to streams that enable +StreamConfig.allow_msg_ttl. The format of this value is "1s" or "1h", +etc, or a plain number interpreted as the number of seconds.

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/JetStreamUsage.html b/docs/jetstream/types/JetStreamUsage.html index 689a0841..e8a64abf 100644 --- a/docs/jetstream/types/JetStreamUsage.html +++ b/docs/jetstream/types/JetStreamUsage.html @@ -1,9 +1,9 @@ -JetStreamUsage | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                        Type Alias JetStreamUsage

                                                                                                                                                                                                                                                                                                                                        type JetStreamUsage = {
                                                                                                                                                                                                                                                                                                                                            consumers: number;
                                                                                                                                                                                                                                                                                                                                            memory: number;
                                                                                                                                                                                                                                                                                                                                            storage: number;
                                                                                                                                                                                                                                                                                                                                            streams: number;
                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                        consumers +JetStreamUsage | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                          Type Alias JetStreamUsage

                                                                                                                                                                                                                                                                                                                                          type JetStreamUsage = {
                                                                                                                                                                                                                                                                                                                                              consumers: number;
                                                                                                                                                                                                                                                                                                                                              memory: number;
                                                                                                                                                                                                                                                                                                                                              storage: number;
                                                                                                                                                                                                                                                                                                                                              streams: number;
                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                          consumers: number

                                                                                                                                                                                                                                                                                                                                          "Number of active Consumers

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          memory: number

                                                                                                                                                                                                                                                                                                                                          Memory Storage being used for Stream Message storage

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          storage: number

                                                                                                                                                                                                                                                                                                                                          File Storage being used for Stream Message storage

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          streams: number

                                                                                                                                                                                                                                                                                                                                          Number of active Streams

                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          memory: number

                                                                                                                                                                                                                                                                                                                                          Memory Storage being used for Stream Message storage

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          storage: number

                                                                                                                                                                                                                                                                                                                                          File Storage being used for Stream Message storage

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          streams: number

                                                                                                                                                                                                                                                                                                                                          Number of active Streams

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/JetStreamUsageAccountLimits.html b/docs/jetstream/types/JetStreamUsageAccountLimits.html index b7c239b1..e1eae86f 100644 --- a/docs/jetstream/types/JetStreamUsageAccountLimits.html +++ b/docs/jetstream/types/JetStreamUsageAccountLimits.html @@ -1 +1 @@ -JetStreamUsageAccountLimits | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                            Type Alias JetStreamUsageAccountLimits

                                                                                                                                                                                                                                                                                                                                            JetStreamUsageAccountLimits: JetStreamUsage & { limits: AccountLimits }
                                                                                                                                                                                                                                                                                                                                            +JetStreamUsageAccountLimits | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                              Type Alias JetStreamUsageAccountLimits

                                                                                                                                                                                                                                                                                                                                              JetStreamUsageAccountLimits: JetStreamUsage & { limits: AccountLimits }
                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/JsHeaders.html b/docs/jetstream/types/JsHeaders.html index 4d41d71c..375bc338 100644 --- a/docs/jetstream/types/JsHeaders.html +++ b/docs/jetstream/types/JsHeaders.html @@ -1 +1 @@ -JsHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                Type Alias JsHeaders

                                                                                                                                                                                                                                                                                                                                                JsHeaders: typeof JsHeaders[keyof typeof JsHeaders]
                                                                                                                                                                                                                                                                                                                                                +JsHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                  Type Alias JsHeaders

                                                                                                                                                                                                                                                                                                                                                  JsHeaders: typeof JsHeaders[keyof typeof JsHeaders]
                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/LastForMsgRequest.html b/docs/jetstream/types/LastForMsgRequest.html index b794d014..f22e3d95 100644 --- a/docs/jetstream/types/LastForMsgRequest.html +++ b/docs/jetstream/types/LastForMsgRequest.html @@ -1,3 +1,3 @@ LastForMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                    Type Alias LastForMsgRequest

                                                                                                                                                                                                                                                                                                                                                    Retrieves the last message with the given subject

                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                    type LastForMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                        last_by_subj: string;
                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    last_by_subj: string
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    type LastForMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                        last_by_subj: string;
                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    last_by_subj: string
                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/Lister.html b/docs/jetstream/types/Lister.html index c9ff7601..411603c4 100644 --- a/docs/jetstream/types/Lister.html +++ b/docs/jetstream/types/Lister.html @@ -1,4 +1,4 @@ -Lister | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                      Type Alias Lister<T>

                                                                                                                                                                                                                                                                                                                                                      An type for listing. Returns a promise with typed list.

                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                      type Lister<T> = {
                                                                                                                                                                                                                                                                                                                                                          "[asyncIterator]"(): AsyncIterator<T>;
                                                                                                                                                                                                                                                                                                                                                          next(): Promise<T[]>;
                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                                                                                                                                      • T
                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                      [asyncIterator] +Lister | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                        Type Alias Lister<T>

                                                                                                                                                                                                                                                                                                                                                        A generic type for listing. Returns a promise with typed list.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        type Lister<T> = {
                                                                                                                                                                                                                                                                                                                                                            "[asyncIterator]"(): AsyncIterator<T>;
                                                                                                                                                                                                                                                                                                                                                            next(): Promise<T[]>;
                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                                                                                                                                                                        • T
                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                                                                                        • Returns AsyncIterator<T>

                                                                                                                                                                                                                                                                                                                                                        • Returns Promise<T[]>

                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                        Methods

                                                                                                                                                                                                                                                                                                                                                        • Returns AsyncIterator<T>

                                                                                                                                                                                                                                                                                                                                                        • Returns Promise<T[]>

                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/LostStreamData.html b/docs/jetstream/types/LostStreamData.html index de1190af..96b27ccc 100644 --- a/docs/jetstream/types/LostStreamData.html +++ b/docs/jetstream/types/LostStreamData.html @@ -1,6 +1,6 @@ LostStreamData | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                          Type Alias LostStreamData

                                                                                                                                                                                                                                                                                                                                                          Records messages that were damaged and unrecoverable

                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                          type LostStreamData = {
                                                                                                                                                                                                                                                                                                                                                              bytes: number;
                                                                                                                                                                                                                                                                                                                                                              msgs: number[] | null;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                          type LostStreamData = {
                                                                                                                                                                                                                                                                                                                                                              bytes: number;
                                                                                                                                                                                                                                                                                                                                                              msgs: number[] | null;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                          bytes: number

                                                                                                                                                                                                                                                                                                                                                          The number of bytes that were lost

                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                          msgs: number[] | null

                                                                                                                                                                                                                                                                                                                                                          The messages that were lost

                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          msgs: number[] | null

                                                                                                                                                                                                                                                                                                                                                          The messages that were lost

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/MaxBytes.html b/docs/jetstream/types/MaxBytes.html index 7f66c6b7..44d5fa76 100644 --- a/docs/jetstream/types/MaxBytes.html +++ b/docs/jetstream/types/MaxBytes.html @@ -1,5 +1,5 @@ -MaxBytes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                            Type Alias MaxBytes

                                                                                                                                                                                                                                                                                                                                                            type MaxBytes = {
                                                                                                                                                                                                                                                                                                                                                                max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                            max_bytes +MaxBytes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                              Type Alias MaxBytes

                                                                                                                                                                                                                                                                                                                                                              type MaxBytes = {
                                                                                                                                                                                                                                                                                                                                                                  max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                              max_bytes: number

                                                                                                                                                                                                                                                                                                                                                              Maximum number of bytes to retrieve - note request must fit the entire message to be honored (this includes, subject, headers, etc). Partial messages are not supported.

                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/MaxMessages.html b/docs/jetstream/types/MaxMessages.html index b0671a5b..0bdf3cc2 100644 --- a/docs/jetstream/types/MaxMessages.html +++ b/docs/jetstream/types/MaxMessages.html @@ -1,6 +1,6 @@ -MaxMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                Type Alias MaxMessages

                                                                                                                                                                                                                                                                                                                                                                type MaxMessages = {
                                                                                                                                                                                                                                                                                                                                                                    max_messages: number;
                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                max_messages +MaxMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                  Type Alias MaxMessages

                                                                                                                                                                                                                                                                                                                                                                  type MaxMessages = {
                                                                                                                                                                                                                                                                                                                                                                      max_messages: number;
                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                  max_messages: number

                                                                                                                                                                                                                                                                                                                                                                  Maximum number of messages to retrieve.

                                                                                                                                                                                                                                                                                                                                                                  100 messages
                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/MsgDeleteRequest.html b/docs/jetstream/types/MsgDeleteRequest.html index 3935780d..ef20318c 100644 --- a/docs/jetstream/types/MsgDeleteRequest.html +++ b/docs/jetstream/types/MsgDeleteRequest.html @@ -1,3 +1,3 @@ MsgDeleteRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                    Type Alias MsgDeleteRequest

                                                                                                                                                                                                                                                                                                                                                                    MsgDeleteRequest: SeqMsgRequest & { no_erase?: boolean }

                                                                                                                                                                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                                                                                                                                                                    • Optionalno_erase?: boolean

                                                                                                                                                                                                                                                                                                                                                                      Default will securely remove a message and rewrite the data with random data, set this to true to only remove the message

                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/MsgRequest.html b/docs/jetstream/types/MsgRequest.html index 90d8a7ac..9719c5bf 100644 --- a/docs/jetstream/types/MsgRequest.html +++ b/docs/jetstream/types/MsgRequest.html @@ -1 +1 @@ -MsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                      Type Alias MsgRequest

                                                                                                                                                                                                                                                                                                                                                                      +MsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                        Type Alias MsgRequest

                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/Next.html b/docs/jetstream/types/Next.html index c5cfe303..cac41b57 100644 --- a/docs/jetstream/types/Next.html +++ b/docs/jetstream/types/Next.html @@ -1,6 +1,6 @@ Next | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                          Type Alias Next

                                                                                                                                                                                                                                                                                                                                                                          Notifies whenever there's a request for additional messages from the server. This notification telegraphs the request options, which should be treated as read-only. This notification is only useful for debugging. Data is PullOptions.

                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                          type Next = {
                                                                                                                                                                                                                                                                                                                                                                              options: PullOptions;
                                                                                                                                                                                                                                                                                                                                                                              type: "next";
                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          type Next = {
                                                                                                                                                                                                                                                                                                                                                                              options: PullOptions;
                                                                                                                                                                                                                                                                                                                                                                              type: "next";
                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          options: PullOptions
                                                                                                                                                                                                                                                                                                                                                                          type: "next"
                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                          options: PullOptions
                                                                                                                                                                                                                                                                                                                                                                          type: "next"
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/NextMsgRequest.html b/docs/jetstream/types/NextMsgRequest.html index 8ac6bae6..724b7450 100644 --- a/docs/jetstream/types/NextMsgRequest.html +++ b/docs/jetstream/types/NextMsgRequest.html @@ -1,4 +1,4 @@ NextMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                            Type Alias NextMsgRequest

                                                                                                                                                                                                                                                                                                                                                                            Request the first message matching specified subject found on or after the specified optional sequence.

                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                            type NextMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                next_by_subj: string;
                                                                                                                                                                                                                                                                                                                                                                                seq?: number;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                            type NextMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                next_by_subj: string;
                                                                                                                                                                                                                                                                                                                                                                                seq?: number;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                            next_by_subj: string
                                                                                                                                                                                                                                                                                                                                                                            seq?: number
                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                            next_by_subj: string
                                                                                                                                                                                                                                                                                                                                                                            seq?: number
                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/NextOptions.html b/docs/jetstream/types/NextOptions.html index d85e213b..42d5da8a 100644 --- a/docs/jetstream/types/NextOptions.html +++ b/docs/jetstream/types/NextOptions.html @@ -1 +1 @@ -NextOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                              Type Alias NextOptions

                                                                                                                                                                                                                                                                                                                                                                              NextOptions: Expires & Bind
                                                                                                                                                                                                                                                                                                                                                                              +NextOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                Type Alias NextOptions

                                                                                                                                                                                                                                                                                                                                                                                NextOptions: Expires & Bind
                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/NoResponders.html b/docs/jetstream/types/NoResponders.html index cc20f3f9..168d0985 100644 --- a/docs/jetstream/types/NoResponders.html +++ b/docs/jetstream/types/NoResponders.html @@ -1,5 +1,5 @@ NoResponders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                  Type Alias NoResponders

                                                                                                                                                                                                                                                                                                                                                                                  Notification that a JetStream request didn't get a response due to a timeout or JetStream not being available.

                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                  type NoResponders = {
                                                                                                                                                                                                                                                                                                                                                                                      code: number;
                                                                                                                                                                                                                                                                                                                                                                                      type: "no_responders";
                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                  type NoResponders = {
                                                                                                                                                                                                                                                                                                                                                                                      code: number;
                                                                                                                                                                                                                                                                                                                                                                                      type: "no_responders";
                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                  code: number
                                                                                                                                                                                                                                                                                                                                                                                  type: "no_responders"
                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                  code: number
                                                                                                                                                                                                                                                                                                                                                                                  type: "no_responders"
                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/OrderedConsumerOptions.html b/docs/jetstream/types/OrderedConsumerOptions.html index 08f7eb29..27452336 100644 --- a/docs/jetstream/types/OrderedConsumerOptions.html +++ b/docs/jetstream/types/OrderedConsumerOptions.html @@ -1,6 +1,6 @@ OrderedConsumerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                    Type Alias OrderedConsumerOptions

                                                                                                                                                                                                                                                                                                                                                                                    These options are a subset of ConsumerConfig and ConsumerUpdateConfig

                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                    type OrderedConsumerOptions = {
                                                                                                                                                                                                                                                                                                                                                                                        deliver_policy: DeliverPolicy;
                                                                                                                                                                                                                                                                                                                                                                                        filter_subjects: string[] | string;
                                                                                                                                                                                                                                                                                                                                                                                        headers_only: boolean;
                                                                                                                                                                                                                                                                                                                                                                                        inactive_threshold: number;
                                                                                                                                                                                                                                                                                                                                                                                        name_prefix: string;
                                                                                                                                                                                                                                                                                                                                                                                        opt_start_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                        opt_start_time: string;
                                                                                                                                                                                                                                                                                                                                                                                        replay_policy: ReplayPolicy;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    type OrderedConsumerOptions = {
                                                                                                                                                                                                                                                                                                                                                                                        deliver_policy: DeliverPolicy;
                                                                                                                                                                                                                                                                                                                                                                                        filter_subjects: string[] | string;
                                                                                                                                                                                                                                                                                                                                                                                        headers_only: boolean;
                                                                                                                                                                                                                                                                                                                                                                                        inactive_threshold: number;
                                                                                                                                                                                                                                                                                                                                                                                        name_prefix: string;
                                                                                                                                                                                                                                                                                                                                                                                        opt_start_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                        opt_start_time: string;
                                                                                                                                                                                                                                                                                                                                                                                        replay_policy: ReplayPolicy;
                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    deliver_policy: DeliverPolicy
                                                                                                                                                                                                                                                                                                                                                                                    filter_subjects: string[] | string
                                                                                                                                                                                                                                                                                                                                                                                    headers_only: boolean
                                                                                                                                                                                                                                                                                                                                                                                    inactive_threshold: number
                                                                                                                                                                                                                                                                                                                                                                                    name_prefix: string
                                                                                                                                                                                                                                                                                                                                                                                    opt_start_seq: number
                                                                                                                                                                                                                                                                                                                                                                                    opt_start_time: string
                                                                                                                                                                                                                                                                                                                                                                                    replay_policy: ReplayPolicy
                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    deliver_policy: DeliverPolicy
                                                                                                                                                                                                                                                                                                                                                                                    filter_subjects: string[] | string
                                                                                                                                                                                                                                                                                                                                                                                    headers_only: boolean
                                                                                                                                                                                                                                                                                                                                                                                    inactive_threshold: number
                                                                                                                                                                                                                                                                                                                                                                                    name_prefix: string
                                                                                                                                                                                                                                                                                                                                                                                    opt_start_seq: number
                                                                                                                                                                                                                                                                                                                                                                                    opt_start_time: string
                                                                                                                                                                                                                                                                                                                                                                                    replay_policy: ReplayPolicy
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/OrderedConsumerRecreated.html b/docs/jetstream/types/OrderedConsumerRecreated.html index af5dc501..1a78b872 100644 --- a/docs/jetstream/types/OrderedConsumerRecreated.html +++ b/docs/jetstream/types/OrderedConsumerRecreated.html @@ -1,5 +1,5 @@ OrderedConsumerRecreated | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                      Type Alias OrderedConsumerRecreated

                                                                                                                                                                                                                                                                                                                                                                                      This notification is specific of ordered consumers and will be notified whenever the consumer is recreated. The argument is the name of the newly created consumer.

                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                      type OrderedConsumerRecreated = {
                                                                                                                                                                                                                                                                                                                                                                                          name: string;
                                                                                                                                                                                                                                                                                                                                                                                          type: "ordered_consumer_recreated";
                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                      type OrderedConsumerRecreated = {
                                                                                                                                                                                                                                                                                                                                                                                          name: string;
                                                                                                                                                                                                                                                                                                                                                                                          type: "ordered_consumer_recreated";
                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                      name: string
                                                                                                                                                                                                                                                                                                                                                                                      type: "ordered_consumer_recreated"
                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                      name: string
                                                                                                                                                                                                                                                                                                                                                                                      type: "ordered_consumer_recreated"
                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/OrderedPushConsumerOptions.html b/docs/jetstream/types/OrderedPushConsumerOptions.html index 8390ea7f..6ada8885 100644 --- a/docs/jetstream/types/OrderedPushConsumerOptions.html +++ b/docs/jetstream/types/OrderedPushConsumerOptions.html @@ -1 +1 @@ -OrderedPushConsumerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                        Type Alias OrderedPushConsumerOptions

                                                                                                                                                                                                                                                                                                                                                                                        OrderedPushConsumerOptions: OrderedConsumerOptions & { deliver_prefix: string }
                                                                                                                                                                                                                                                                                                                                                                                        +OrderedPushConsumerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                          Type Alias OrderedPushConsumerOptions

                                                                                                                                                                                                                                                                                                                                                                                          OrderedPushConsumerOptions: OrderedConsumerOptions & { deliver_prefix: string }
                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/OverflowMinAckPending.html b/docs/jetstream/types/OverflowMinAckPending.html index 2f1c1753..34086710 100644 --- a/docs/jetstream/types/OverflowMinAckPending.html +++ b/docs/jetstream/types/OverflowMinAckPending.html @@ -1,5 +1,5 @@ -OverflowMinAckPending | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                            Type Alias OverflowMinAckPending

                                                                                                                                                                                                                                                                                                                                                                                            type OverflowMinAckPending = {
                                                                                                                                                                                                                                                                                                                                                                                                group: string;
                                                                                                                                                                                                                                                                                                                                                                                                min_ack_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                            group +OverflowMinAckPending | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                              Type Alias OverflowMinAckPending

                                                                                                                                                                                                                                                                                                                                                                                              type OverflowMinAckPending = {
                                                                                                                                                                                                                                                                                                                                                                                                  group: string;
                                                                                                                                                                                                                                                                                                                                                                                                  min_ack_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                              group: string

                                                                                                                                                                                                                                                                                                                                                                                              The name of the priority_group

                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                              min_ack_pending: number

                                                                                                                                                                                                                                                                                                                                                                                              Only deliver messages when num_ack_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              min_ack_pending: number

                                                                                                                                                                                                                                                                                                                                                                                              Only deliver messages when num_ack_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/OverflowMinPending.html b/docs/jetstream/types/OverflowMinPending.html index 33331f82..23bfcb2c 100644 --- a/docs/jetstream/types/OverflowMinPending.html +++ b/docs/jetstream/types/OverflowMinPending.html @@ -1,5 +1,5 @@ -OverflowMinPending | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                Type Alias OverflowMinPending

                                                                                                                                                                                                                                                                                                                                                                                                type OverflowMinPending = {
                                                                                                                                                                                                                                                                                                                                                                                                    group: string;
                                                                                                                                                                                                                                                                                                                                                                                                    min_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                group +OverflowMinPending | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias OverflowMinPending

                                                                                                                                                                                                                                                                                                                                                                                                  type OverflowMinPending = {
                                                                                                                                                                                                                                                                                                                                                                                                      group: string;
                                                                                                                                                                                                                                                                                                                                                                                                      min_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                  group: string

                                                                                                                                                                                                                                                                                                                                                                                                  The name of the priority_group

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                  min_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                  Only deliver messages when num_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  min_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                  Only deliver messages when num_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/OverflowMinPendingAndMinAck.html b/docs/jetstream/types/OverflowMinPendingAndMinAck.html index 35699b0f..51a936a4 100644 --- a/docs/jetstream/types/OverflowMinPendingAndMinAck.html +++ b/docs/jetstream/types/OverflowMinPendingAndMinAck.html @@ -1,7 +1,7 @@ -OverflowMinPendingAndMinAck | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias OverflowMinPendingAndMinAck

                                                                                                                                                                                                                                                                                                                                                                                                    type OverflowMinPendingAndMinAck = {
                                                                                                                                                                                                                                                                                                                                                                                                        group: string;
                                                                                                                                                                                                                                                                                                                                                                                                        min_ack_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                        min_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                    group +OverflowMinPendingAndMinAck | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias OverflowMinPendingAndMinAck

                                                                                                                                                                                                                                                                                                                                                                                                      type OverflowMinPendingAndMinAck = {
                                                                                                                                                                                                                                                                                                                                                                                                          group: string;
                                                                                                                                                                                                                                                                                                                                                                                                          min_ack_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                          min_pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                      group: string

                                                                                                                                                                                                                                                                                                                                                                                                      The name of the priority_group

                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                      min_ack_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                      Only deliver messages when num_ack_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                      min_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                      Only deliver messages when num_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      min_ack_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                      Only deliver messages when num_ack_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      min_pending: number

                                                                                                                                                                                                                                                                                                                                                                                                      Only deliver messages when num_pending for the consumer is greater than this value

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/OverflowOptions.html b/docs/jetstream/types/OverflowOptions.html index a92d2958..5c268e08 100644 --- a/docs/jetstream/types/OverflowOptions.html +++ b/docs/jetstream/types/OverflowOptions.html @@ -1 +1 @@ -OverflowOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias OverflowOptions

                                                                                                                                                                                                                                                                                                                                                                                                        OverflowOptions:
                                                                                                                                                                                                                                                                                                                                                                                                            | OverflowMinPending
                                                                                                                                                                                                                                                                                                                                                                                                            | OverflowMinAckPending
                                                                                                                                                                                                                                                                                                                                                                                                            | OverflowMinPendingAndMinAck
                                                                                                                                                                                                                                                                                                                                                                                                        +OverflowOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias OverflowOptions

                                                                                                                                                                                                                                                                                                                                                                                                          OverflowOptions:
                                                                                                                                                                                                                                                                                                                                                                                                              | OverflowMinPending
                                                                                                                                                                                                                                                                                                                                                                                                              | OverflowMinAckPending
                                                                                                                                                                                                                                                                                                                                                                                                              | OverflowMinPendingAndMinAck
                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/PeerInfo.html b/docs/jetstream/types/PeerInfo.html index f2e7d384..11756863 100644 --- a/docs/jetstream/types/PeerInfo.html +++ b/docs/jetstream/types/PeerInfo.html @@ -1,11 +1,11 @@ -PeerInfo | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias PeerInfo

                                                                                                                                                                                                                                                                                                                                                                                                            type PeerInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                current: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                lag: number;
                                                                                                                                                                                                                                                                                                                                                                                                                name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                offline: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                            active +PeerInfo | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias PeerInfo

                                                                                                                                                                                                                                                                                                                                                                                                              type PeerInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                  active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                  current: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                  lag: number;
                                                                                                                                                                                                                                                                                                                                                                                                                  name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                  offline: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                              active: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                              Nanoseconds since this peer was last seen

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              current: boolean

                                                                                                                                                                                                                                                                                                                                                                                                              Indicates if the server is up-to-date and synchronised

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              lag: number

                                                                                                                                                                                                                                                                                                                                                                                                              How many uncommitted operations this peer is behind the leader

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              name: string

                                                                                                                                                                                                                                                                                                                                                                                                              The server name of the peer

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              offline: boolean

                                                                                                                                                                                                                                                                                                                                                                                                              Indicates the node is considered offline by the group

                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              current: boolean

                                                                                                                                                                                                                                                                                                                                                                                                              Indicates if the server is up-to-date and synchronised

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              lag: number

                                                                                                                                                                                                                                                                                                                                                                                                              How many uncommitted operations this peer is behind the leader

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              name: string

                                                                                                                                                                                                                                                                                                                                                                                                              The server name of the peer

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              offline: boolean

                                                                                                                                                                                                                                                                                                                                                                                                              Indicates the node is considered offline by the group

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/PersistMode.html b/docs/jetstream/types/PersistMode.html new file mode 100644 index 00000000..bc10399e --- /dev/null +++ b/docs/jetstream/types/PersistMode.html @@ -0,0 +1 @@ +PersistMode | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias PersistMode

                                                                                                                                                                                                                                                                                                                                                                                                                PersistMode: typeof PersistMode[keyof typeof PersistMode]
                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/Placement.html b/docs/jetstream/types/Placement.html index ed976b05..872ab454 100644 --- a/docs/jetstream/types/Placement.html +++ b/docs/jetstream/types/Placement.html @@ -1,5 +1,5 @@ -Placement | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias Placement

                                                                                                                                                                                                                                                                                                                                                                                                                  type Placement = {
                                                                                                                                                                                                                                                                                                                                                                                                                      cluster: string;
                                                                                                                                                                                                                                                                                                                                                                                                                      tags: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                  cluster +Placement | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias Placement

                                                                                                                                                                                                                                                                                                                                                                                                                    type Placement = {
                                                                                                                                                                                                                                                                                                                                                                                                                        cluster: string;
                                                                                                                                                                                                                                                                                                                                                                                                                        tags: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                    cluster: string

                                                                                                                                                                                                                                                                                                                                                                                                                    The cluster to place the stream on

                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                    tags: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags matching server configuration

                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    tags: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                    Tags matching server configuration

                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/PrioritizedOptions.html b/docs/jetstream/types/PrioritizedOptions.html new file mode 100644 index 00000000..4ee8d2f0 --- /dev/null +++ b/docs/jetstream/types/PrioritizedOptions.html @@ -0,0 +1,3 @@ +PrioritizedOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias PrioritizedOptions

                                                                                                                                                                                                                                                                                                                                                                                                                      type PrioritizedOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                          group: string;
                                                                                                                                                                                                                                                                                                                                                                                                                          priority: number;
                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                      group: string
                                                                                                                                                                                                                                                                                                                                                                                                                      priority: number
                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/PriorityGroups.html b/docs/jetstream/types/PriorityGroups.html index 74607d16..7e9337e3 100644 --- a/docs/jetstream/types/PriorityGroups.html +++ b/docs/jetstream/types/PriorityGroups.html @@ -1,4 +1,4 @@ -PriorityGroups | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias PriorityGroups

                                                                                                                                                                                                                                                                                                                                                                                                                        type PriorityGroups = {
                                                                                                                                                                                                                                                                                                                                                                                                                            priority_groups?: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                            priority_policy?: PriorityPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                            priority_timeout?: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                        priority_groups? +PriorityGroups | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias PriorityGroups

                                                                                                                                                                                                                                                                                                                                                                                                                          type PriorityGroups = {
                                                                                                                                                                                                                                                                                                                                                                                                                              priority_groups?: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                              priority_policy?: PriorityPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                              priority_timeout?: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                          priority_groups?: string[]
                                                                                                                                                                                                                                                                                                                                                                                                                          priority_policy?: PriorityPolicy
                                                                                                                                                                                                                                                                                                                                                                                                                          priority_timeout?: Nanos
                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                          priority_groups?: string[]
                                                                                                                                                                                                                                                                                                                                                                                                                          priority_policy?: PriorityPolicy
                                                                                                                                                                                                                                                                                                                                                                                                                          priority_timeout?: Nanos
                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/PriorityPolicy.html b/docs/jetstream/types/PriorityPolicy.html index f8bb8671..af62013e 100644 --- a/docs/jetstream/types/PriorityPolicy.html +++ b/docs/jetstream/types/PriorityPolicy.html @@ -1 +1 @@ -PriorityPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias PriorityPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                            PriorityPolicy: typeof PriorityPolicy[keyof typeof PriorityPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                            +PriorityPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias PriorityPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                              PriorityPolicy: typeof PriorityPolicy[keyof typeof PriorityPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/PubAck.html b/docs/jetstream/types/PubAck.html index 7d72303c..61897374 100644 --- a/docs/jetstream/types/PubAck.html +++ b/docs/jetstream/types/PubAck.html @@ -1,10 +1,10 @@ PubAck | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias PubAck

                                                                                                                                                                                                                                                                                                                                                                                                                                The response returned by the JetStream server when a message is added to a stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                type PubAck = {
                                                                                                                                                                                                                                                                                                                                                                                                                                    domain?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                    duplicate: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                    seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                type PubAck = {
                                                                                                                                                                                                                                                                                                                                                                                                                                    domain?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                    duplicate: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                    seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                domain?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                The domain of the JetStream

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                duplicate: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                True if the message is a duplicate

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                The sequence number of the message as stored in JetStream

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                duplicate: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                True if the message is a duplicate

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                The sequence number of the message as stored in JetStream

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                The name of the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/PubHeaders.html b/docs/jetstream/types/PubHeaders.html new file mode 100644 index 00000000..e8f04434 --- /dev/null +++ b/docs/jetstream/types/PubHeaders.html @@ -0,0 +1 @@ +PubHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias PubHeaders

                                                                                                                                                                                                                                                                                                                                                                                                                                  PubHeaders: typeof PubHeaders[keyof typeof PubHeaders]
                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/PullOptions.html b/docs/jetstream/types/PullOptions.html index ffe8cf3f..b1d014f9 100644 --- a/docs/jetstream/types/PullOptions.html +++ b/docs/jetstream/types/PullOptions.html @@ -1,11 +1,11 @@ -PullOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias PullOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                    PullOptions: Partial<OverflowMinPendingAndMinAck> & {
                                                                                                                                                                                                                                                                                                                                                                                                                                        batch: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                        expires: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                        idle_heartbeat: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                        max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                        no_wait: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                    Options for a JetStream pull subscription which define how long +PullOptions | @nats-io/jetstream

                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias PullOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                      PullOptions: Partial<OverflowMinPendingAndMinAck> & Partial<PrioritizedOptions> & {
                                                                                                                                                                                                                                                                                                                                                                                                                                          batch: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                          expires: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                          idle_heartbeat: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                          max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                          no_wait: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                      Options for a JetStream pull subscription which define how long the pull request will remain open and limits the amount of data that the server could return.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                      • batch: number

                                                                                                                                                                                                                                                                                                                                                                                                                                        Max number of messages to retrieve in a pull.

                                                                                                                                                                                                                                                                                                                                                                                                                                      • expires: number

                                                                                                                                                                                                                                                                                                                                                                                                                                        If set, the number of milliseconds to wait for the number of messages -specified in batch

                                                                                                                                                                                                                                                                                                                                                                                                                                        +specified in batch

                                                                                                                                                                                                                                                                                                                                                                                                                                      • idle_heartbeat: number

                                                                                                                                                                                                                                                                                                                                                                                                                                        Number of nanos between messages for the server to emit an idle_heartbeat

                                                                                                                                                                                                                                                                                                                                                                                                                                      • max_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                        If set, the max number of bytes to receive. The server will limit the number of messages in the batch to fit within this setting.

                                                                                                                                                                                                                                                                                                                                                                                                                                      • no_wait: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                        If true, the request for messages will end when received by the server

                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/PurgeBySeq.html b/docs/jetstream/types/PurgeBySeq.html index 9b188965..de83feaf 100644 --- a/docs/jetstream/types/PurgeBySeq.html +++ b/docs/jetstream/types/PurgeBySeq.html @@ -1,5 +1,5 @@ -PurgeBySeq | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias PurgeBySeq

                                                                                                                                                                                                                                                                                                                                                                                                                                        type PurgeBySeq = {
                                                                                                                                                                                                                                                                                                                                                                                                                                            filter?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                            seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                        filter? +PurgeBySeq | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias PurgeBySeq

                                                                                                                                                                                                                                                                                                                                                                                                                                          type PurgeBySeq = {
                                                                                                                                                                                                                                                                                                                                                                                                                                              filter?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                              seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                          filter?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                          Restrict purging to messages that match this subject

                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                          Purge all messages up to but not including the message with this sequence.

                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                          Purge all messages up to but not including the message with this sequence.

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/PurgeBySubject.html b/docs/jetstream/types/PurgeBySubject.html index 7b5f2648..c07a13d6 100644 --- a/docs/jetstream/types/PurgeBySubject.html +++ b/docs/jetstream/types/PurgeBySubject.html @@ -1,3 +1,3 @@ -PurgeBySubject | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias PurgeBySubject

                                                                                                                                                                                                                                                                                                                                                                                                                                            type PurgeBySubject = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                filter: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                            filter +PurgeBySubject | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias PurgeBySubject

                                                                                                                                                                                                                                                                                                                                                                                                                                              type PurgeBySubject = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                  filter: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                              filter: string

                                                                                                                                                                                                                                                                                                                                                                                                                                              Restrict purging to messages that match this subject

                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/PurgeOpts.html b/docs/jetstream/types/PurgeOpts.html index 722fb32c..d4dde608 100644 --- a/docs/jetstream/types/PurgeOpts.html +++ b/docs/jetstream/types/PurgeOpts.html @@ -1 +1 @@ -PurgeOpts | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias PurgeOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                +PurgeOpts | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias PurgeOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/PurgeResponse.html b/docs/jetstream/types/PurgeResponse.html index 145e78db..93225c8e 100644 --- a/docs/jetstream/types/PurgeResponse.html +++ b/docs/jetstream/types/PurgeResponse.html @@ -1,2 +1,2 @@ PurgeResponse | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias PurgeResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                    PurgeResponse: Success & { purged: number }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                    • purged: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Number of messages purged from the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/PurgeTrimOpts.html b/docs/jetstream/types/PurgeTrimOpts.html index 3fb8e55e..dbbf7c60 100644 --- a/docs/jetstream/types/PurgeTrimOpts.html +++ b/docs/jetstream/types/PurgeTrimOpts.html @@ -1,5 +1,5 @@ -PurgeTrimOpts | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias PurgeTrimOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type PurgeTrimOpts = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          filter?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          keep: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                      filter? +PurgeTrimOpts | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias PurgeTrimOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                        type PurgeTrimOpts = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            filter?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            keep: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                        filter?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Restrict purging to messages that match this subject

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                        keep: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Ensures this many messages are present after the purge.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        keep: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Ensures this many messages are present after the purge.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/PushConsumer.html b/docs/jetstream/types/PushConsumer.html index e7d3d155..a8287f2c 100644 --- a/docs/jetstream/types/PushConsumer.html +++ b/docs/jetstream/types/PushConsumer.html @@ -1 +1 @@ -PushConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias PushConsumer

                                                                                                                                                                                                                                                                                                                                                                                                                                                          PushConsumer: InfoableConsumer & DeleteableConsumer & ConsumerKind & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              consume(opts?: PushConsumerOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +PushConsumer | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias PushConsumer

                                                                                                                                                                                                                                                                                                                                                                                                                                                            PushConsumer: InfoableConsumer & DeleteableConsumer & ConsumerKind & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                consume(opts?: PushConsumerOptions): Promise<ConsumerMessages>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/PushConsumerOptions.html b/docs/jetstream/types/PushConsumerOptions.html index f873c573..d60e4b9f 100644 --- a/docs/jetstream/types/PushConsumerOptions.html +++ b/docs/jetstream/types/PushConsumerOptions.html @@ -1 +1 @@ -PushConsumerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias PushConsumerOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +PushConsumerOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias PushConsumerOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/ReplayPolicy.html b/docs/jetstream/types/ReplayPolicy.html index cd6c4968..b432f1b5 100644 --- a/docs/jetstream/types/ReplayPolicy.html +++ b/docs/jetstream/types/ReplayPolicy.html @@ -1 +1 @@ -ReplayPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias ReplayPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ReplayPolicy: typeof ReplayPolicy[keyof typeof ReplayPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +ReplayPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias ReplayPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ReplayPolicy: typeof ReplayPolicy[keyof typeof ReplayPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/Republish.html b/docs/jetstream/types/Republish.html index e9930f4d..0e24725f 100644 --- a/docs/jetstream/types/Republish.html +++ b/docs/jetstream/types/Republish.html @@ -1,7 +1,7 @@ -Republish | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Republish = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dest: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          headers_only?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          src: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      dest +Republish | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Republish = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dest: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            headers_only?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            src: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        dest: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The destination to publish to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        headers_only?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Only send message headers, no bodies

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        src: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The source subject to republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        headers_only?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Only send message headers, no bodies

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        src: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The source subject to republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/RepublishHeaders.html b/docs/jetstream/types/RepublishHeaders.html index 1a311824..0301f98a 100644 --- a/docs/jetstream/types/RepublishHeaders.html +++ b/docs/jetstream/types/RepublishHeaders.html @@ -1 +1 @@ -RepublishHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias RepublishHeaders

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          RepublishHeaders: typeof RepublishHeaders[keyof typeof RepublishHeaders]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +RepublishHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias RepublishHeaders

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            RepublishHeaders: typeof RepublishHeaders[keyof typeof RepublishHeaders]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/Reset.html b/docs/jetstream/types/Reset.html index 436b4fc2..d7ef5899 100644 --- a/docs/jetstream/types/Reset.html +++ b/docs/jetstream/types/Reset.html @@ -1,4 +1,4 @@ Reset | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias Reset

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Notifies that the current consumer will be reset

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type Reset = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: "reset";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type Reset = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type: "reset";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: "reset"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: "reset"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/RetentionPolicy.html b/docs/jetstream/types/RetentionPolicy.html index 20721ed1..74d964eb 100644 --- a/docs/jetstream/types/RetentionPolicy.html +++ b/docs/jetstream/types/RetentionPolicy.html @@ -1 +1 @@ -RetentionPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias RetentionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RetentionPolicy: typeof RetentionPolicy[keyof typeof RetentionPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +RetentionPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias RetentionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RetentionPolicy: typeof RetentionPolicy[keyof typeof RetentionPolicy]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/ScheduleOptions.html b/docs/jetstream/types/ScheduleOptions.html new file mode 100644 index 00000000..2ee0ebdd --- /dev/null +++ b/docs/jetstream/types/ScheduleOptions.html @@ -0,0 +1,13 @@ +ScheduleOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias ScheduleOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ScheduleOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        source?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        specification: string | Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        target: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ttl?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    source?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Instructs the schedule to read the last message on the given subject and publish. If the subject is empty, nothing is published. Wildcards are NOT supported.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    specification: string | Date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The schedule specification format. +Currently only supports: +"@at " - e.g., new Date(Date.now() + 60_000).toISOString()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Note: The ADR-51 specification defines additional formats that may be supported in future +server versions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    target: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The subject the message will be delivered to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ttl?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sets a message TTL if the stream supports per-message TTL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/SeqMsgRequest.html b/docs/jetstream/types/SeqMsgRequest.html index 3088ea29..94e6e0c6 100644 --- a/docs/jetstream/types/SeqMsgRequest.html +++ b/docs/jetstream/types/SeqMsgRequest.html @@ -1,3 +1,3 @@ SeqMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias SeqMsgRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Stream sequence number of the message to retrieve

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type SeqMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type SeqMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/SequenceInfo.html b/docs/jetstream/types/SequenceInfo.html index 7741c7d4..dc5784a9 100644 --- a/docs/jetstream/types/SequenceInfo.html +++ b/docs/jetstream/types/SequenceInfo.html @@ -1,4 +1,4 @@ -SequenceInfo | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias SequenceInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type SequenceInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            consumer_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            last_active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            stream_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        consumer_seq +SequenceInfo | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias SequenceInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type SequenceInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              consumer_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              last_active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              stream_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          consumer_seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          last_active: Nanos
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stream_seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          consumer_seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          last_active: Nanos
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stream_seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/StartTimeMsgRequest.html b/docs/jetstream/types/StartTimeMsgRequest.html index cc0a0d5b..6ff23824 100644 --- a/docs/jetstream/types/StartTimeMsgRequest.html +++ b/docs/jetstream/types/StartTimeMsgRequest.html @@ -1,4 +1,4 @@ StartTimeMsgRequest | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias StartTimeMsgRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Start time for the message. This is only supported on servers 2.11.0 and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type StartTimeMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                start_time: Date | string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            start_time: Date | string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type StartTimeMsgRequest = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                start_time: Date | string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            start_time: Date | string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/StorageType.html b/docs/jetstream/types/StorageType.html index 27db4ffb..bda2efb6 100644 --- a/docs/jetstream/types/StorageType.html +++ b/docs/jetstream/types/StorageType.html @@ -1 +1 @@ -StorageType | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              StorageType: typeof StorageType[keyof typeof StorageType]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +StorageType | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                StorageType: typeof StorageType[keyof typeof StorageType]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/StoreCompression.html b/docs/jetstream/types/StoreCompression.html index 244410da..26b91310 100644 --- a/docs/jetstream/types/StoreCompression.html +++ b/docs/jetstream/types/StoreCompression.html @@ -1 +1 @@ -StoreCompression | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias StoreCompression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  StoreCompression: typeof StoreCompression[keyof typeof StoreCompression]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +StoreCompression | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias StoreCompression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    StoreCompression: typeof StoreCompression[keyof typeof StoreCompression]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/types/StoredMsg.html b/docs/jetstream/types/StoredMsg.html index c44bb53f..33272fe6 100644 --- a/docs/jetstream/types/StoredMsg.html +++ b/docs/jetstream/types/StoredMsg.html @@ -1,5 +1,5 @@ StoredMsg | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias StoredMsg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      A type representing a message that retrieved directly from JetStream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StoredMsg = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          data: Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          header: MsgHdrs;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          lastSequence: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          subject: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          time: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          timestamp: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          json<T>(reviver?: ReviverFn): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          string(): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type StoredMsg = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          data: Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          header: MsgHdrs;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          lastSequence: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          pending: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          subject: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          time: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          timestamp: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          json<T>(reviver?: ReviverFn): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          string(): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      data header lastSequence pending @@ -10,18 +10,18 @@

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      data: Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The payload of the message body

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      header: MsgHdrs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Headers for the message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      lastSequence: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The previous sequence delivered to the client in the current batch. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      header: MsgHdrs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Headers for the message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      lastSequence: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The previous sequence delivered to the client in the current batch. This value will be 0 if it was not from a batch request

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pending: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The number of messages in the stream that are pending for a similar +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      pending: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The number of messages in the stream that are pending for a similar batch request. if -1, the number of pending messages is unknown and the stored message was received outside the context of a batch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The sequence number of the message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The subject the message was originally received on

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      time: Date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The time the message was received

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      timestamp: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The raw ISO formatted date returned by the server

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Convenience method to parse the message payload as JSON. This method +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The sequence number of the message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The subject the message was originally received on

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      time: Date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The time the message was received

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      timestamp: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The raw ISO formatted date returned by the server

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Convenience method to parse the message payload as JSON. This method will throw an exception if there's a parsing error;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Optionalreviver: ReviverFn

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Convenience method to parse the message payload as string. This method +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Optionalreviver: ReviverFn

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Convenience method to parse the message payload as string. This method may throw an exception if there's a conversion error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/Stream.html b/docs/jetstream/types/Stream.html index 73902f34..e8580a94 100644 --- a/docs/jetstream/types/Stream.html +++ b/docs/jetstream/types/Stream.html @@ -1,4 +1,4 @@ -Stream | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Stream = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            alternates(): Promise<StreamAlternate[]>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            best(): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            deleteMessage(seq: number, erase?: boolean): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            getConsumer(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                name?: string | Partial<OrderedConsumerOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ): Promise<Consumer>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            getMessage(query: MsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            getPushConsumer(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                name?: string | Partial<OrderedPushConsumerOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ): Promise<PushConsumer>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            info(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                cached?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                opts?: Partial<StreamInfoRequestOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        name +Stream | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Stream = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              alternates(): Promise<StreamAlternate[]>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              best(): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              deleteMessage(seq: number, erase?: boolean): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              getConsumer(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  name?: string | Partial<OrderedConsumerOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ): Promise<Consumer>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              getMessage(query: MsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              getPushConsumer(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  name?: string | Partial<OrderedPushConsumerOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ): Promise<PushConsumer>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              info(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  cached?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  opts?: Partial<StreamInfoRequestOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Optionalerase: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Optionalerase: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Returns the named consumer pull consumer. If instead of a name an OrderedConsumerOptions configuration is passed, an ordered pull consumer is created and returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns Promise<Consumer>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns Promise<Consumer>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/StreamAPI.html b/docs/jetstream/types/StreamAPI.html index b5599515..164955e9 100644 --- a/docs/jetstream/types/StreamAPI.html +++ b/docs/jetstream/types/StreamAPI.html @@ -1,4 +1,4 @@ -StreamAPI | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias StreamAPI

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type StreamAPI = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                add(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    cfg: WithRequired<Partial<StreamConfig>, "name">,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                delete(stream: string): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                deleteMessage(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    seq: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    erase?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                find(subject: string): Promise<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                get(name: string): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                getMessage(stream: string, query: MsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                info(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    opts?: Partial<StreamInfoRequestOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                list(subject?: string): Lister<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                names(subject?: string): Lister<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                purge(stream: string, opts?: PurgeOpts): Promise<PurgeResponse>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                update(name: string, cfg: Partial<StreamUpdateConfig>): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add +StreamAPI | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias StreamAPI

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type StreamAPI = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  add(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      cfg: WithRequired<Partial<StreamConfig>, "name">,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  delete(stream: string): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deleteMessage(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      seq: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      erase?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  find(subject: string): Promise<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  get(name: string): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  getMessage(stream: string, query: MsgRequest): Promise<StoredMsg>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  info(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      stream: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      opts?: Partial<StreamInfoRequestOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  list(subject?: string): Lister<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  names(subject?: string): Lister<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  purge(stream: string, opts?: PurgeOpts): Promise<PurgeResponse>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  update(name: string, cfg: Partial<StreamUpdateConfig>): Promise<StreamInfo>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              add delete deleteMessage find @@ -10,19 +10,19 @@ purge update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Adds a new stream with the specified stream configuration.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<StreamInfo>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Deletes the specified stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Deletes the specified message sequence from the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<StreamInfo>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Deletes the specified stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Deletes the specified message sequence from the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • stream: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • seq: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalerase: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  erase the message - by default true

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Find the stream that stores the specified subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • subject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns a Stream object

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Retrieves the message matching the specified query. Messages can be +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Find the stream that stores the specified subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • subject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns a Stream object

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Retrieves the message matching the specified query. Messages can be retrieved by sequence number or by last sequence matching a subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<StoredMsg>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Lists all streams stored by JetStream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<StoredMsg>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Lists all streams stored by JetStream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalsubject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  only return streams that include the specified subject

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Lister<StreamInfo>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Return a Lister of stream names

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns Lister<StreamInfo>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Return a Lister of stream names

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalsubject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  if specified, the results are filtered to streams that contain the subject (can be wildcarded)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Lister<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Purges messages from a stream that match the specified purge options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns Lister<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Purges messages from a stream that match the specified purge options.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/StreamConfig.html b/docs/jetstream/types/StreamConfig.html index dd3922fb..6c1de310 100644 --- a/docs/jetstream/types/StreamConfig.html +++ b/docs/jetstream/types/StreamConfig.html @@ -1,10 +1,15 @@ -StreamConfig | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias StreamConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                StreamConfig: StreamUpdateConfig & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    first_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    max_consumers: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    mirror?: StreamSource;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    retention: RetentionPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    sealed: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    storage: StorageType;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • first_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the first sequence number used by the stream. This property can only be +StreamConfig | @nats-io/jetstream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias StreamConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    StreamConfig: StreamUpdateConfig & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        allow_atomic: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        allow_msg_counter: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        allow_msg_schedules: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        allow_msg_ttl: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        first_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        max_consumers: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        persist_mode: PersistMode;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        retention: RetentionPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        sealed: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        storage: StorageType;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • allow_atomic: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Enables the ability to send atomic batches to the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • allow_msg_counter: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Enables a NATS stream implementation of CRDT operations

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • allow_msg_schedules: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Enables the scheduling of messages in a stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • allow_msg_ttl: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Enables allows header initiated per-message TTLs. If disabled, then the NATS-TTL +header will be ignored.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • first_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sets the first sequence number used by the stream. This property can only be specified when creating the stream, and likely is not valid on mirrors etc., as it may disrupt the synchronization logic.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • max_consumers: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      How many Consumers can be defined for a given Stream. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Optionalmirror?: StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Maintains a 1:1 mirror of another stream with name matching this property. -When a mirror is configured subjects and sources must be empty.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      A unique name for the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • persist_mode: PersistMode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sets the persistence model for the stream - the default is PersistMode.Default. +This is a 2.12 feature.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • retention: RetentionPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      How messages are retained in the Stream, once this is exceeded old messages are removed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • sealed: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sealed streams do not allow messages to be deleted via limits or API, sealed streams can not be unsealed via configuration update. diff --git a/docs/jetstream/types/StreamExpectations.html b/docs/jetstream/types/StreamExpectations.html new file mode 100644 index 00000000..672b91bd --- /dev/null +++ b/docs/jetstream/types/StreamExpectations.html @@ -0,0 +1,38 @@ +StreamExpectations | @nats-io/jetstream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias StreamExpectations

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StreamExpectations are used implement some assertions before adding a message +to the stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type StreamExpectations = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lastMsgID: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lastSequence: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lastSubjectSequence: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lastSubjectSequenceSubject: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lastSubjectSequenceValue: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            streamName: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastMsgID: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The expected last msgID of the last message received by the stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastSequence: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The expected last sequence on the stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastSubjectSequence: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The expected last sequence on the stream for a message with this subject

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastSubjectSequenceSubject: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        This option is used in conjunction with lastSubjectSequence. It enables a +constraint on the sequence to be based on the specified subject (which can +have wildcards) rather than the subject of the message being published.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Here's an example set of sequences for specific subjects:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ┌─────────┬────────┐ +│ subj │ Seq │ +├─────────┼────────┤ +│ a.1.foo │ 1 │ +│ a.1.bar │ 6 │ +│ a.2.foo │ 3 │ +│ a.3.bar │ 4 │ +│ a.1.baz │ 5 │ +│ a.2.baz │ 7 │ +└─────────┴────────┘

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The LastSubjectSequenceSubject for wildcards in the last token +Are evaluated for to the largest sequence matching the subject: +┌────────────────────┬────────┐ +| Last Subj Seq Subj | Seq | +├────────────────────┼────────┤ +│ a.1.* │ 6 │ +│ a.2.* │ 7 │ +│ a.3.* │ 4 │ +└────────────────────┴────────┘

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        lastSubjectSequenceValue: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The expected last sequence on the stream for a message with this subject +and this value.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        streamName: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        The expected stream capturing the message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/StreamInfoRequestOptions.html b/docs/jetstream/types/StreamInfoRequestOptions.html index e42dc98d..c4817ccb 100644 --- a/docs/jetstream/types/StreamInfoRequestOptions.html +++ b/docs/jetstream/types/StreamInfoRequestOptions.html @@ -1,4 +1,4 @@ StreamInfoRequestOptions | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias StreamInfoRequestOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StreamInfoRequestOptions: { deleted_details: boolean; subjects_filter: string } & ApiPagedRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Options for StreamAPI info requests

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • deleted_details: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Include info on deleted subjects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • subjects_filter: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Only include information matching the specified subject filter

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/types/StreamNotFound.html b/docs/jetstream/types/StreamNotFound.html index c387edcb..1a48aa7e 100644 --- a/docs/jetstream/types/StreamNotFound.html +++ b/docs/jetstream/types/StreamNotFound.html @@ -4,7 +4,7 @@ find the consumer. Note that if you get this notification possibly your code should attempt to recreate the consumer. Note that this notification is only informational for ordered consumers, as the consumer will be created in those cases automatically.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type StreamNotFound = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            consumerCreateFails?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: "stream_not_found";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type StreamNotFound = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            consumerCreateFails?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type: "stream_not_found";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        consumerCreateFails?: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type: "stream_not_found"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      consumerCreateFails?: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type: "stream_not_found"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/StreamSource.html b/docs/jetstream/types/StreamSource.html index 2daa7847..d8143279 100644 --- a/docs/jetstream/types/StreamSource.html +++ b/docs/jetstream/types/StreamSource.html @@ -1,4 +1,4 @@ -StreamSource | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type StreamSource = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            domain?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            external?: ExternalStream;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filter_subject?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            opt_start_seq?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            opt_start_time?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            subject_transforms?: SubjectTransformConfig[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        domain? +StreamSource | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type StreamSource = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              domain?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              external?: ExternalStream;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              filter_subject?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              opt_start_seq?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              opt_start_time?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              subject_transforms?: SubjectTransformConfig[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          domain? external? filter_subject? name @@ -9,12 +9,12 @@ If set, the value here is used to calculate the JetStreamAPI prefix. This field is never serialized to the server. This value cannot be set if external is set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          external?: ExternalStream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This value cannot be set if domain is set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          filter_subject?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional filter subject. If the filter matches the message will be +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          external?: ExternalStream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This value cannot be set if domain is set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          filter_subject?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional filter subject. If the filter matches the message will be on-boarded.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Name of the stream source

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          opt_start_seq?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional start sequence from which to start reading messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          opt_start_time?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional start time Date string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          subject_transforms?: SubjectTransformConfig[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Apply a subject transforms to sourced messages before doing anything else. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Name of the stream source

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          opt_start_seq?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional start sequence from which to start reading messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          opt_start_time?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An optional start time Date string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          subject_transforms?: SubjectTransformConfig[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Apply a subject transforms to sourced messages before doing anything else. This feature only supported on 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/StreamSourceInfo.html b/docs/jetstream/types/StreamSourceInfo.html index eb211a0e..8290cd30 100644 --- a/docs/jetstream/types/StreamSourceInfo.html +++ b/docs/jetstream/types/StreamSourceInfo.html @@ -1,13 +1,13 @@ StreamSourceInfo | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias StreamSourceInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Information about an upstream stream source in a mirror

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type StreamSourceInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                error?: ApiError;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                lag: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                subject_transforms?: SubjectTransformConfig[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type StreamSourceInfo = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                active: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                error?: ApiError;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                lag: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                name: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                subject_transforms?: SubjectTransformConfig[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            active: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When last the mirror had activity, in nanoseconds. Value will be -1 when there has been no activity.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            error?: ApiError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A possible error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lag: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            How many messages behind the mirror operation is

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the Stream being replicated

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            subject_transforms?: SubjectTransformConfig[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Apply a subject transforms to sourced messages before doing anything else. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            error?: ApiError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            A possible error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            lag: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            How many messages behind the mirror operation is

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            name: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The name of the Stream being replicated

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            subject_transforms?: SubjectTransformConfig[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Apply a subject transforms to sourced messages before doing anything else. This feature only supported on 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/types/StreamState.html b/docs/jetstream/types/StreamState.html index a029ca83..0f3bb051 100644 --- a/docs/jetstream/types/StreamState.html +++ b/docs/jetstream/types/StreamState.html @@ -1,4 +1,4 @@ -StreamState | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias StreamState

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type StreamState = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  consumer_count: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deleted: number[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  first_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  first_ts: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  last_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  last_ts: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  lost: LostStreamData;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  messages: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  num_deleted: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  num_subjects?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subjects?: Record<string, number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              bytes +StreamState | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias StreamState

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type StreamState = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    consumer_count: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    deleted: number[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    first_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    first_ts: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    last_seq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    last_ts: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    lost: LostStreamData;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    messages: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    num_deleted: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    num_subjects?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    subjects?: Record<string, number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Combined size of all messages in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                consumer_count: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Number of Consumers attached to the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                deleted: number[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                IDs of messages that were deleted using the Message Delete API or Interest-based streams removing messages out of order -StreamInfoRequestOptions.deleted_details is specified on +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                consumer_count: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Number of Consumers attached to the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                deleted: number[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                IDs of messages that were deleted using the Message Delete API or Interest-based streams removing messages out of order +when StreamInfoRequestOptions.deleted_details is specified on the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                first_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sequence number of the first message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                first_ts: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ISO timestamp of the first message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                last_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sequence number of the last message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                last_ts: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ISO timestamp of the last message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Messages that were damaged and unrecoverable

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                messages: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Number of messages stored in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                num_deleted: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The number of deleted messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                num_subjects?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The number of unique subjects held in the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                subjects?: Record<string, number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Subjects and their message counts when a subjects_filter was set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                first_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sequence number of the first message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                first_ts: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ISO timestamp of the first message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                last_seq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sequence number of the last message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                last_ts: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The ISO timestamp of the last message in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Messages that were damaged and unrecoverable

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                messages: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Number of messages stored in the Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                num_deleted: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The number of deleted messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                num_subjects?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                The number of unique subjects held in the stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                subjects?: Record<string, number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Subjects and their message counts when a subjects_filter was set

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/types/StreamUpdateConfig.html b/docs/jetstream/types/StreamUpdateConfig.html index 77ec9dc9..c5007a5c 100644 --- a/docs/jetstream/types/StreamUpdateConfig.html +++ b/docs/jetstream/types/StreamUpdateConfig.html @@ -1,5 +1,5 @@ StreamUpdateConfig | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias StreamUpdateConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Stream options that can be updated

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type StreamUpdateConfig = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      allow_direct: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      allow_rollup_hdrs: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      compression?: StoreCompression;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      consumer_limits?: StreamConsumerLimits;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      deny_delete: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      deny_purge: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      description?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      discard: DiscardPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      discard_new_per_subject: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      duplicate_window: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_age: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msg_size: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msgs: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msgs_per_subject: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      metadata?: Record<string, string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      mirror_direct: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      no_ack?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      num_replicas: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      placement?: Placement;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      republish?: Republish;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sources?: StreamSource[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subject_transform?: SubjectTransformConfig;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subjects: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type StreamUpdateConfig = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      allow_direct: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      allow_rollup_hdrs: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      compression?: StoreCompression;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      consumer_limits?: StreamConsumerLimits;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      deny_delete: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      deny_purge: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      description?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      discard: DiscardPolicy;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      discard_new_per_subject: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      duplicate_window: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_age: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msg_size: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msgs: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_msgs_per_subject: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      metadata?: Record<string, string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      mirror?: StreamSource;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      mirror_direct: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      no_ack?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      num_replicas: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      placement?: Placement;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      republish?: Republish;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sources?: StreamSource[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subject_delete_marker_ttl?: Nanos;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subject_transform?: SubjectTransformConfig;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      subjects: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  allow_direct: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Allow higher performance, direct access to get individual messages via the $JS.DS.GET API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  allow_rollup_hdrs: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Allows the use of the JsHeaders#RollupHdr header to replace all contents of a stream, +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  allow_rollup_hdrs: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Allows the use of the JsHeaders#RollupHdr header to replace all contents of a stream, or subject in a stream, with a single new message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  compression?: StoreCompression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the compression level of the stream. This feature is only supported in +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  compression?: StoreCompression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the compression level of the stream. This feature is only supported in servers 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  consumer_limits?: StreamConsumerLimits

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The consumer limits applied to consumers that don't specify limits +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  consumer_limits?: StreamConsumerLimits

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The consumer limits applied to consumers that don't specify limits for inactive_threshold or max_ack_pending. Note that these limits become an upper bound for all clients.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deny_delete: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Restricts the ability to delete messages from a stream via the API. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deny_delete: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Restricts the ability to delete messages from a stream via the API. Cannot be changed once set to true

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deny_purge: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Restricts the ability to purge messages from a stream via the API. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  deny_purge: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Restricts the ability to purge messages from a stream via the API. Cannot be change once set to true

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  description?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A short description of the purpose of this stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  discard: DiscardPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  When a Stream reach its limits either old messages are deleted or new ones are denied

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  discard_new_per_subject: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the context of the on a per subject basis. Requires DiscardPolicy#New as the +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  description?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A short description of the purpose of this stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  discard: DiscardPolicy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  When a Stream reach its limits either old messages are deleted or new ones are denied

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  discard_new_per_subject: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the context of the on a per subject basis. Requires DiscardPolicy#New as the discard policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  duplicate_window: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The time window to track duplicate messages for, expressed in nanoseconds. 0 for default +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  duplicate_window: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The time window to track duplicate messages for, expressed in nanoseconds. 0 for default Set JetStreamPublishOptions#msgID to enable duplicate detection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_age: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Maximum age of any message in the stream, expressed in nanoseconds. 0 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How big the Stream may be, when the combined stream size exceeds this old messages are removed. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msg_size: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The largest message that will be accepted by the Stream. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msgs: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How many messages may be in a Stream, oldest messages will be removed if the Stream exceeds this size. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msgs_per_subject: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For wildcard streams ensure that for every unique subject this many messages are kept - a per subject retention limit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  metadata?: Record<string, string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Metadata field to store additional information about the stream. Note that +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_age: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Maximum age of any message in the stream, expressed in nanoseconds. 0 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How big the Stream may be, when the combined stream size exceeds this old messages are removed. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msg_size: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The largest message that will be accepted by the Stream. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msgs: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How many messages may be in a Stream, oldest messages will be removed if the Stream exceeds this size. -1 for unlimited.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_msgs_per_subject: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  For wildcard streams ensure that for every unique subject this many messages are kept - a per subject retention limit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  metadata?: Record<string, string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Metadata field to store additional information about the stream. Note that keys starting with _nats are reserved. This feature only supported on servers 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mirror_direct: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Allow higher performance, direct access to get individual messages via the $JS.DS.GET API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  no_ack?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Disables acknowledging messages that are received by the Stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  num_replicas: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How many replicas to keep for each message. Min 1, Max 5. Default 1.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  placement?: Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Placement directives to consider when placing replicas of this stream, random placement when unset

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  republish?: Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Rules for republishing messages from a stream with subject mapping +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mirror?: StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Maintains a 1:1 mirror of another stream with name matching this property. +When a mirror is configured subjects and sources must be empty.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mirror_direct: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Allow higher performance, direct access to get individual messages via the $JS.DS.GET API

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  no_ack?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Disables acknowledging messages that are received by the Stream.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  num_replicas: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How many replicas to keep for each message. Min 1, Max 5. Default 1.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  placement?: Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Placement directives to consider when placing replicas of this stream, random placement when unset

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  republish?: Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Rules for republishing messages from a stream with subject mapping onto new subjects for partitioning and more

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  sources?: StreamSource[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  List of Stream names to replicate into this Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subject_transform?: SubjectTransformConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Apply a subject transform to incoming messages before doing anything else. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  sources?: StreamSource[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  List of Stream names to replicate into this Stream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subject_delete_marker_ttl?: Nanos

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets a duration for adding server markers for delete, purge and max age limits.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subject_transform?: SubjectTransformConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Apply a subject transform to incoming messages before doing anything else. This feature only supported on 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subjects: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A list of subjects to consume, supports wildcards. Must be empty when a mirror is configured. May be empty when sources are configured.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  subjects: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A list of subjects to consume, supports wildcards. Must be empty when a mirror is configured. May be empty when sources are configured.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/types/Streams.html b/docs/jetstream/types/Streams.html index e27345ca..10adee36 100644 --- a/docs/jetstream/types/Streams.html +++ b/docs/jetstream/types/Streams.html @@ -1,2 +1,2 @@ -Streams | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias Streams

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type Streams = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        get(stream: string): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    get -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +Streams | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias Streams

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Streams = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          get(stream: string): Promise<Stream>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      get +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • stream: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Promise<Stream>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/types/Success.html b/docs/jetstream/types/Success.html index 463cbcc2..33e3daf7 100644 --- a/docs/jetstream/types/Success.html +++ b/docs/jetstream/types/Success.html @@ -1,3 +1,3 @@ -Success | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias Success

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Success = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            success: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        success +Success | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias Success

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type Success = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              success: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          success: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          True if the operation succeeded

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/types/ThresholdBytes.html b/docs/jetstream/types/ThresholdBytes.html index 063e55c5..ce9758a6 100644 --- a/docs/jetstream/types/ThresholdBytes.html +++ b/docs/jetstream/types/ThresholdBytes.html @@ -1,5 +1,5 @@ -ThresholdBytes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias ThresholdBytes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ThresholdBytes = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                threshold_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            threshold_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Threshold bytes on which the client wil auto-trigger additional message requests +ThresholdBytes | @nats-io/jetstream

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias ThresholdBytes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ThresholdBytes = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  threshold_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              threshold_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Threshold bytes on which the client auto-triggers additional message requests from the server. This is only applicable to consume.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              75% of MaxBytes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/types/ThresholdMessages.html b/docs/jetstream/types/ThresholdMessages.html index a221622c..bc8482af 100644 --- a/docs/jetstream/types/ThresholdMessages.html +++ b/docs/jetstream/types/ThresholdMessages.html @@ -1,5 +1,5 @@ -ThresholdMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias ThresholdMessages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ThresholdMessages = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    threshold_messages: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                threshold_messages +ThresholdMessages | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias ThresholdMessages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ThresholdMessages = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      threshold_messages: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  threshold_messages: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Threshold message count on which the client will auto-trigger additional requests from the server. This is only applicable to consume.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  75% of MaxMessages.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/variables/AckPolicy.html b/docs/jetstream/variables/AckPolicy.html index cffec99e..50e37b20 100644 --- a/docs/jetstream/variables/AckPolicy.html +++ b/docs/jetstream/variables/AckPolicy.html @@ -1,4 +1,4 @@ AckPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Variable AckPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AckPolicy: { All: "all"; Explicit: "explicit"; None: "none" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyAll: "all"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Ack, acknowledges all messages with a lower sequence

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyExplicit: "explicit"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      All sequences must be explicitly acknowledged

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyNone: "none"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Messages don't need to be Ack'ed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/jetstream/variables/AdvisoryKind.html b/docs/jetstream/variables/AdvisoryKind.html index b584cc0a..0b7d25ed 100644 --- a/docs/jetstream/variables/AdvisoryKind.html +++ b/docs/jetstream/variables/AdvisoryKind.html @@ -1,2 +1,2 @@ AdvisoryKind | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Variable AdvisoryKindConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      AdvisoryKind: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Ack: "consumer_ack";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          API: "api_audit";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ConsumerAction: "consumer_action";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ConsumerLeaderElected: "consumer_leader_elected";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ConsumerQuorumLost: "consumer_quorum_lost";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          MaxDeliver: "max_deliver";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          RestoreComplete: "restore_complete";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          RestoreCreate: "restore_create";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SnapshotComplete: "snapshot_complete";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SnapshotCreate: "snapshot_create";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StreamAction: "stream_action";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StreamLeaderElected: "stream_leader_elected";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StreamQuorumLost: "stream_quorum_lost";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Terminated: "terminated";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The different kinds of Advisories

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyAck: "consumer_ack"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyAPI: "api_audit"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerAction: "consumer_action"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerLeaderElected: "consumer_leader_elected"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerQuorumLost: "consumer_quorum_lost"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyMaxDeliver: "max_deliver"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRestoreComplete: "restore_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRestoreCreate: "restore_create"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlySnapshotComplete: "snapshot_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlySnapshotCreate: "snapshot_create"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamAction: "stream_action"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamLeaderElected: "stream_leader_elected"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamQuorumLost: "stream_quorum_lost"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTerminated: "terminated"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyAck: "consumer_ack"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyAPI: "api_audit"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerAction: "consumer_action"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerLeaderElected: "consumer_leader_elected"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyConsumerQuorumLost: "consumer_quorum_lost"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyMaxDeliver: "max_deliver"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRestoreComplete: "restore_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyRestoreCreate: "restore_create"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlySnapshotComplete: "snapshot_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlySnapshotCreate: "snapshot_create"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamAction: "stream_action"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamLeaderElected: "stream_leader_elected"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyStreamQuorumLost: "stream_quorum_lost"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyTerminated: "terminated"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/variables/DeliverPolicy.html b/docs/jetstream/variables/DeliverPolicy.html index 6dc6d1f6..3150bd9f 100644 --- a/docs/jetstream/variables/DeliverPolicy.html +++ b/docs/jetstream/variables/DeliverPolicy.html @@ -4,4 +4,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyNew: "new"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Deliver starting with new messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyStartSequence: "by_start_sequence"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Deliver starting with the specified sequence

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyStartTime: "by_start_time"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Deliver starting with the specified time

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/variables/DirectMsgHeaders.html b/docs/jetstream/variables/DirectMsgHeaders.html index e10623a3..63be2c40 100644 --- a/docs/jetstream/variables/DirectMsgHeaders.html +++ b/docs/jetstream/variables/DirectMsgHeaders.html @@ -1 +1 @@ -DirectMsgHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Variable DirectMsgHeadersConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DirectMsgHeaders: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            LastSequence: "Nats-Last-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NumPending: "Nats-Num-Pending";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sequence: "Nats-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Stream: "Nats-Stream";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Subject: "Nats-Subject";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TimeStamp: "Nats-Time-Stamp";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyLastSequence: "Nats-Last-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyNumPending: "Nats-Num-Pending"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySequence: "Nats-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyStream: "Nats-Stream"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySubject: "Nats-Subject"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyTimeStamp: "Nats-Time-Stamp"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +DirectMsgHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Variable DirectMsgHeadersConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DirectMsgHeaders: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LastSequence: "Nats-Last-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              NumPending: "Nats-Num-Pending";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Sequence: "Nats-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Stream: "Nats-Stream";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Subject: "Nats-Subject";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TimeStamp: "Nats-Time-Stamp";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyLastSequence: "Nats-Last-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyNumPending: "Nats-Num-Pending"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlySequence: "Nats-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyStream: "Nats-Stream"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlySubject: "Nats-Subject"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyTimeStamp: "Nats-Time-Stamp"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/variables/DiscardPolicy.html b/docs/jetstream/variables/DiscardPolicy.html index 570381cd..e5e1c02a 100644 --- a/docs/jetstream/variables/DiscardPolicy.html +++ b/docs/jetstream/variables/DiscardPolicy.html @@ -1,3 +1,3 @@ DiscardPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Variable DiscardPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DiscardPolicy: { New: "new"; Old: "old" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyNew: "new"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Discard the new messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyOld: "old"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Discard old messages to make room for the new ones

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/variables/JetStreamApiCodes.html b/docs/jetstream/variables/JetStreamApiCodes.html index ea6b0615..e39143df 100644 --- a/docs/jetstream/variables/JetStreamApiCodes.html +++ b/docs/jetstream/variables/JetStreamApiCodes.html @@ -1 +1 @@ -JetStreamApiCodes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Variable JetStreamApiCodesConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              JetStreamApiCodes: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ConsumerNotFound: 10014;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  JetStreamNotEnabledForAccount: 10039;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  NoMessageFound: 10037;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  StreamNotFound: 10059;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  StreamWrongLastSequence: 10071;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyConsumerNotFound: 10014
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyJetStreamNotEnabledForAccount: 10039
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyNoMessageFound: 10037
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyStreamNotFound: 10059
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyStreamWrongLastSequence: 10071
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +JetStreamApiCodes | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Variable JetStreamApiCodesConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                JetStreamApiCodes: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ConsumerNotFound: 10014;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    JetStreamNotEnabledForAccount: 10039;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    NoMessageFound: 10037;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    StreamNotFound: 10059;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    StreamWrongLastSequence: 10071;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyConsumerNotFound: 10014
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyJetStreamNotEnabledForAccount: 10039
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyNoMessageFound: 10037
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyStreamNotFound: 10059
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyStreamWrongLastSequence: 10071
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/variables/JsHeaders.html b/docs/jetstream/variables/JsHeaders.html index dcfa088d..00f37255 100644 --- a/docs/jetstream/variables/JsHeaders.html +++ b/docs/jetstream/variables/JsHeaders.html @@ -7,4 +7,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyPendingMessagesHdr: "Nats-Pending-Messages"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Set on protocol messages to indicate pull request message count that was not honored.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyRollupHdr: "Nats-Rollup"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyRollupValueAll: "all"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyRollupValueSubject: "sub"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyStreamSourceHdr: "Nats-Stream-Source"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Set if message is from a stream source - format is stream seq

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/jetstream/variables/PersistMode.html b/docs/jetstream/variables/PersistMode.html new file mode 100644 index 00000000..bb68ef6b --- /dev/null +++ b/docs/jetstream/variables/PersistMode.html @@ -0,0 +1,10 @@ +PersistMode | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Variable PersistModeConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PersistMode: { Async: string; Default: string } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Async: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Writes to the stream are committed, but writes to the disk are asynchronously synced. +The publish acknowledgement is sent before the sync to the disk is complete. +This could result in data-loss if the server crashes before the sync is completed, however +with an R3+ stream, the replication provides in-flight redundancy to reduce the likelihood of +this occurring with distinct fault domains. +This can significantly increase the publish throughput.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Default: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    All writes are committed and stream data is synced to disk before the publish +acknowledgement is sent. +This is the default mode, and provides the strongest data durability guarantee.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/jetstream/variables/PriorityPolicy.html b/docs/jetstream/variables/PriorityPolicy.html index e8136ddc..972ca431 100644 --- a/docs/jetstream/variables/PriorityPolicy.html +++ b/docs/jetstream/variables/PriorityPolicy.html @@ -1 +1 @@ -PriorityPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Variable PriorityPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    PriorityPolicy: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        None: "none";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Overflow: "overflow";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PinnedClient: "pinned_client";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyNone: "none"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyOverflow: "overflow"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • ReadonlyPinnedClient: "pinned_client"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +PriorityPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Variable PriorityPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      PriorityPolicy: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          None: "none";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Overflow: "overflow";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PinnedClient: "pinned_client";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Prioritized: "prioritized";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyNone: "none"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyOverflow: "overflow"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyPinnedClient: "pinned_client"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ReadonlyPrioritized: "prioritized"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/jetstream/variables/PubHeaders.html b/docs/jetstream/variables/PubHeaders.html new file mode 100644 index 00000000..2f735cd8 --- /dev/null +++ b/docs/jetstream/variables/PubHeaders.html @@ -0,0 +1,3 @@ +PubHeaders | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Variable PubHeadersConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PubHeaders: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ExpectedLastMsgIdHdr: "Nats-Expected-Last-Msg-Id";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ExpectedLastSeqHdr: "Nats-Expected-Last-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ExpectedLastSubjectSequenceHdr: "Nats-Expected-Last-Subject-Sequence";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ExpectedLastSubjectSequenceSubjectHdr: "Nats-Expected-Last-Subject-Sequence-Subject";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ExpectedStreamHdr: "Nats-Expected-Stream";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            MessageTTL: "Nats-TTL";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            MsgIdHdr: "Nats-Msg-Id";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Schedule: "Nats-Schedule";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ScheduleSource: "Nats-Schedule-Source";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ScheduleTarget: "Nats-Schedule-Target";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ScheduleTTL: "Nats-Schedule-TTL";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyExpectedLastMsgIdHdr: "Nats-Expected-Last-Msg-Id"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyExpectedLastSeqHdr: "Nats-Expected-Last-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyExpectedLastSubjectSequenceHdr: "Nats-Expected-Last-Subject-Sequence"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyExpectedLastSubjectSequenceSubjectHdr: "Nats-Expected-Last-Subject-Sequence-Subject"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyExpectedStreamHdr: "Nats-Expected-Stream"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyMessageTTL: "Nats-TTL"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Sets the TTL for a message (Nanos value). Only have effect on streams that +enable StreamConfig.allow_msg_ttl.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyMsgIdHdr: "Nats-Msg-Id"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySchedule: "Nats-Schedule"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyScheduleSource: "Nats-Schedule-Source"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyScheduleTarget: "Nats-Schedule-Target"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyScheduleTTL: "Nats-Schedule-TTL"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/jetstream/variables/ReplayPolicy.html b/docs/jetstream/variables/ReplayPolicy.html index 960e5caa..a353f521 100644 --- a/docs/jetstream/variables/ReplayPolicy.html +++ b/docs/jetstream/variables/ReplayPolicy.html @@ -1,3 +1,3 @@ ReplayPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Variable ReplayPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ReplayPolicy: { Instant: "instant"; Original: "original" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyInstant: "instant"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Replays messages as fast as possible

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyOriginal: "original"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Replays messages following the original delay between messages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/variables/RepublishHeaders.html b/docs/jetstream/variables/RepublishHeaders.html index ad0bb537..4359e45f 100644 --- a/docs/jetstream/variables/RepublishHeaders.html +++ b/docs/jetstream/variables/RepublishHeaders.html @@ -3,4 +3,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySize: "Nats-Msg-Size"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The size in bytes of the message's body - Only if Republish#headers_only is set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlyStream: "Nats-Stream"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The source stream of the message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • ReadonlySubject: "Nats-Subject"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The original subject of the message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/jetstream/variables/RetentionPolicy.html b/docs/jetstream/variables/RetentionPolicy.html index 9efa70be..1ca2cf2c 100644 --- a/docs/jetstream/variables/RetentionPolicy.html +++ b/docs/jetstream/variables/RetentionPolicy.html @@ -1,4 +1,4 @@ RetentionPolicy | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Variable RetentionPolicyConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            RetentionPolicy: {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Interest: "interest";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Limits: "limits";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Workqueue: "workqueue";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyInterest: "interest"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Retain messages while there is consumer interest on the particular subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyLimits: "limits"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Retain messages until the limits are reached, then trigger the discard policy.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyWorkqueue: "workqueue"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Retain messages until acknowledged

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/jetstream/variables/StorageType.html b/docs/jetstream/variables/StorageType.html index a243827c..7c57d58a 100644 --- a/docs/jetstream/variables/StorageType.html +++ b/docs/jetstream/variables/StorageType.html @@ -1,3 +1,3 @@ StorageType | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Variable StorageTypeConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              StorageType: { File: "file"; Memory: "memory" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyFile: "file"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Store persistently on files

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • ReadonlyMemory: "memory"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Store in server memory - doesn't survive server restarts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/jetstream/variables/StoreCompression.html b/docs/jetstream/variables/StoreCompression.html index fbfaf8fd..d16020b8 100644 --- a/docs/jetstream/variables/StoreCompression.html +++ b/docs/jetstream/variables/StoreCompression.html @@ -1,3 +1,3 @@ StoreCompression | @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/jetstream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Variable StoreCompressionConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                StoreCompression: { None: "none"; S2: "s2" } = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyNone: "none"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  No compression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • ReadonlyS2: "s2"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  S2 compression

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/kv/assets/hierarchy.js b/docs/kv/assets/hierarchy.js index 88636f05..fb85f0ad 100644 --- a/docs/kv/assets/hierarchy.js +++ b/docs/kv/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzwMKVNfWAgCbHgqm" \ No newline at end of file +window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg==" \ No newline at end of file diff --git a/docs/kv/assets/navigation.js b/docs/kv/assets/navigation.js index 78c95da4..d3814f0d 100644 --- a/docs/kv/assets/navigation.js +++ b/docs/kv/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJydlF1PwjAUhv9Lr4nARFQu+bgwGDGa4IXxonSHrKFrF3pKXIz/3UGNW+lKFy/3vn2e9TRp378IwieSCZkatgMkPVJQzKpvJqjWoPs2v8owF1W54zIlk2Fy9937I5eH3Meq8CKzrhEsiyOwdtcng/vb4U3i/GemUmAeaOOOtA7gOs7PQQDCqkCuZIvGqeO2hcR96VtOcZx+5DnHlk3YPM4Hp+i8/2eDQUndxT2vSNG0OGwe598osixwmHXX0fMgmTApBEy/bUdX8HSabcz1ovybcsz+O8+B7jndiMhM103VlGoYj5ZQnt2+rZHsNEPfXeGqxqOGKoUtNQLtk1KdgG6zeYsuCJ+UKvyLXbuavaf5+AEfV6Qu" \ No newline at end of file +window.navigationData = "eJydlM1OwzAQhN9lzxGloRTIscABBVEEUjkgDq69JVGdH8XriAjx7qgNEEeO44jrzM4X7zre108g/CCIYKX5HgkCKBklEAGXTClUs1Y/SSiTEMA+zQVE8/DyK/hLxnVmx+I6G81sugg15SGw6deHp1cX8/Ow953rQiC3gq08mA7a80AEAssKOSMUYCOVg6n8R7pBiYTrktIiH8D0bD/tNqeqsSlH2Z+OsXFM6NfxM+7TLKWBRlrdn3dOYvIMHlkjCyYcnZjuBJau3t2XY7pTWDRCosmcZ2KkBxit7s+/MOKJ40fpvImcu5xLLdBB+nEnspzTMV0f66mwV8NB+28/NatStpWens5M1IopXC7sx7TTOT/2MOtX9FHLhYESuGNaUrtD16X5sDqaVTQCfCiK0l5aHcv0LczbN+4W89o=" \ No newline at end of file diff --git a/docs/kv/assets/search.js b/docs/kv/assets/search.js index f1f80c85..59d13334 100644 --- a/docs/kv/assets/search.js +++ b/docs/kv/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1nG1z28YRx78L9VZ1iHvCwe+atJmmzqSZuHVeaDwaioQkWiTBEqASx+PvXhweiF3sAlhB6Zs4Ivb+e9j73d5hSdyXxSn7LV+8vfmyeNoeNou3kfLXi8Nqny7eLr49r5/SYnG9OJ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O+Ugz4hoD7XckoA2iYnbpZF3cX5e7zPSXxYIHEqXRPt9+oPTyi3oH5ov1m3cMj2Y1pQKP2mxedCrosDdcDv/F6eOxuffoXWIAagCj2myIPjwRlDZJm7AnAI3ejEQMWE98Y5d1L0kAG9CfxjRGaExGIS+SrwMTXgIxhfdk7ta/GkegYkDGsb5ibu12uZ4Aj65dfnVjNSYHZaz0n62P/CgWQgbfhoV8qe3jkk6uBN9KhL9iNFrMYGXj/G6o+l/gC2sgycbNw4xz6DSh4vQEIwch5VjD60z/ArAGsxn7Mt4c7gWkDwq79cAdvzoOlDXTF+Opc3owHOmDGGL8A49fegRSYL8ZvEejfbAciYKYYP3yORXHi1gFXrAO3XX6It8dmgfECYGu/+IAjXQA6IM6J3x09eCMfxAfsJIxfUqJ3OmiyXqExuokXYMCF34Cj93rB8ghmRdxlD+s3wUitUgGClB9B6OhNoARirTxjjU7WBFIg/yi/9DMqfCoQIuUXmv7gH0AhGLHEb/3oz9oEPQH4RH74DKc+AJLh7twvJOBUB6ADAmM8A8O8VgpmB8Q69FWkOjEAMfHLPmWB99UWPhPwnKrg5FKQxsBCGvkN/OVwCxBqMPLWszdkExOBrBxd7qn9UuvlMAyw8wBXZj2vrPujDnCpgHH2FWnOdQLjDYBO/NIhPZgVxAms8JHfCj86dhVowUK3X6gvJyKAUMNHJqHf+I+2LQYMvvWbE/0hr+BqwASN/AKNXjkF8wtugj0fJ6G/1gEQQpsNLyX01ziAEqwP+Q0883c2gB4sFPkNPtk/azD0cVcQS/z61r2wDYYPJLUo7hOAxzi+3wSn/SnL98csuLl9/+3b/wDddsbu"; \ No newline at end of file diff --git a/docs/kv/classes/Bucket.html b/docs/kv/classes/Bucket.html index ce0f78db..724ecd42 100644 --- a/docs/kv/classes/Bucket.html +++ b/docs/kv/classes/Bucket.html @@ -1,4 +1,4 @@ -Bucket | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Class Bucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Implements

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  constructor +Bucket | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Class Bucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Implements

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    _prefixLen bucket codec @@ -16,6 +16,7 @@

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jsm: JetStreamManager

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Bucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    _prefixLen: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    codec: KvCodecs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    direct: boolean
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    editPrefix: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    hasWildcards: (k: string) => boolean = hasWildcards
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    jsm: JetStreamManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    prefix: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    useJsPrefix: boolean
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    validateKey: (k: string) => void = validateKey
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    validateSearchKey: (k: string) => void = validateSearchKey

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Accessors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • get prefixLen(): number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string | string[]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • content: KvWatchInclude
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<ConsumerConfig> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Partial<ConsumerConfig>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Creates a new entry ensuring that the entry does not exist (or +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jsm: JetStreamManager

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Bucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    _prefixLen: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    codec: KvCodecs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    direct: boolean
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    editPrefix: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    hasWildcards: (k: string) => boolean = hasWildcards
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    jsm: JetStreamManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    prefix: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    stream: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    useJsPrefix: boolean
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    validateKey: (k: string) => void = validateKey
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    validateSearchKey: (k: string) => void = validateSearchKey

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Accessors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • get prefixLen(): number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string | string[]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • content: KvWatchInclude
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<ConsumerConfig> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Partial<ConsumerConfig>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Payload
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<KvPutOptions> = {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • OptionalmarkerTTL: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Creates a new entry ensuring that the entry does not exist (or the current version is deleted or the key is purged) If the entry already exists, this operation fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Payload

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Uint8Array
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalh: MsgHdrs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ekey: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Deletes the entry stored under the specified key. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      markerTTL is specified as a Go duration strings +("10s", "1m", "1h"...)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Payload
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • OptionalmarkerTTL: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        duration is specified as a string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Uint8Array
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalh: MsgHdrs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ekey: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Deletes the entry stored under the specified key. Deletes are soft-deletes. The server will add a new entry marked by a "DEL" operation. Note that if the KV was created with an underlying limit (such as a TTL on keys) it is possible for a key or the soft delete marker to be removed without additional notification on a watch.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Destroys the underlying stream used by the KV. This +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Destroys the underlying stream used by the KV. This effectively deletes all data stored under the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • key: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns the KvEntry stored under the key if it exists or null if not. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • key: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns the KvEntry stored under the key if it exists or null if not. Note that the entry returned could be marked with a "DEL" or "PURGE" operation which signifies the server stored the value, but it is now deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalopts: { revision: number }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KvEntry>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator of the specified key's history (or all keys). +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalopts: { revision: number }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KvEntry>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator of the specified key's history (or all keys). Note you can specify multiple keys if running on server 2.10.x or better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: { headers_only?: boolean; key?: string | string[] } = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • info: StreamInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns void

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jm: JsMsg
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • isUpdate: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns KvWatchEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator of all the keys optionally matching +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: { headers_only?: boolean; key?: string | string[] } = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • info: StreamInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns void

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • jm: JsMsg
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • isUpdate: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns KvWatchEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator of all the keys optionally matching the specified filter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string | string[] = ">"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<string>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Deletes and purges the specified key and any value +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string | string[] = ">"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<string>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Deletes and purges the specified key and any value history.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalopts: PurgeOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • olderMillis: number = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Sets or updates the value stored under the specified key.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • sm: StoredMsg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns KvEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns information about the Kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • edit: boolean = false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Updates the existing entry provided that the previous sequence +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionalopts: PurgeOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • olderMillis: number = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<PurgeResponse>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Sets or updates the value stored under the specified key.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • sm: StoredMsg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns KvEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns information about the Kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • edit: boolean = false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Updates the existing entry provided that the previous sequence for the Kv is at the specified version. This ensures that the KV has not been modified prior to the update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • data: Payload
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • version: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Optionaltimeout: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        in millis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator that will yield KvEntry updates as they happen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<KvOptions> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Creates a new entry ensuring that the entry does not exist (or +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Returns an iterator that will yield KvEntry updates as they happen.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<KvOptions> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Creates a new entry ensuring that the entry does not exist (or the current version is deleted or the key is purged) If the entry already exists, this operation fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • opts: Partial<KvOptions> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    markerTTL is specified as a Go duration strings +("10s", "1m", "1h"...)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • js: JetStreamClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • opts: Partial<KvOptions> = {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/kv/classes/Kvm.html b/docs/kv/classes/Kvm.html index c00b09e5..6e64e853 100644 --- a/docs/kv/classes/Kvm.html +++ b/docs/kv/classes/Kvm.html @@ -1,5 +1,5 @@ Kvm | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Class Kvm

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      The entry point to creating new KV instances.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      create list @@ -7,7 +7,8 @@

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Creates an instance of the Kv that allows you to create and access KV stores. Note that if the argument is a NatsConnection, default JetStream Options are used. If you want to set some options, please provide a JetStreamClient instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • nc: NatsConnection | JetStreamClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Kvm

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      js: JetStreamClientImpl

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Creates and opens the specified KV. If the KV already exists, it opens the existing KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Lists all available KVs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Lister<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Open to the specified KV. If the KV doesn't exist, this API will fail.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • nc: NatsConnection | JetStreamClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Kvm

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      js: JetStreamClientImpl

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Creates and opens the specified KV. If the KV already exists, it opens the existing KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Lists all available KVs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Lister<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Open to the specified KV. If the KV doesn't exist, this API will fail on accessing +the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns Promise<KV>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/kv/functions/Base64KeyCodec.html b/docs/kv/functions/Base64KeyCodec.html index b22a95a0..0bb06f03 100644 --- a/docs/kv/functions/Base64KeyCodec.html +++ b/docs/kv/functions/Base64KeyCodec.html @@ -1 +1 @@ -Base64KeyCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Function Base64KeyCodec

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • Returns KvCodec<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +Base64KeyCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Function Base64KeyCodec

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/kv/functions/NoopKvCodecs.html b/docs/kv/functions/NoopKvCodecs.html index 9d07225c..1ebdd0d1 100644 --- a/docs/kv/functions/NoopKvCodecs.html +++ b/docs/kv/functions/NoopKvCodecs.html @@ -1 +1 @@ -NoopKvCodecs | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Function NoopKvCodecs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +NoopKvCodecs | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Function NoopKvCodecs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/kv/functions/defaultBucketOpts.html b/docs/kv/functions/defaultBucketOpts.html index 82ce5397..18b16b67 100644 --- a/docs/kv/functions/defaultBucketOpts.html +++ b/docs/kv/functions/defaultBucketOpts.html @@ -1 +1 @@ -defaultBucketOpts | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Function defaultBucketOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +defaultBucketOpts | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Function defaultBucketOpts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/kv/index.html b/docs/kv/index.html index 6ac29731..fd12d880 100644 --- a/docs/kv/index.html +++ b/docs/kv/index.html @@ -1,5 +1,5 @@ @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    License -jetstream +kv JSDoc

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    JSR JSR

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @@ -49,7 +49,7 @@
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/kv/modules.html b/docs/kv/modules.html index 5001a36e..d9fe5576 100644 --- a/docs/kv/modules.html +++ b/docs/kv/modules.html @@ -1 +1 @@ -@nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +@nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/kv/types/KV.html b/docs/kv/types/KV.html index f013bd61..a60d50f6 100644 --- a/docs/kv/types/KV.html +++ b/docs/kv/types/KV.html @@ -1,20 +1,23 @@ -KV | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          KV: RoKV & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              create(k: string, data: Payload): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              delete(k: string, opts?: Partial<KvDeleteOptions>): Promise<void>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              destroy(): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              purge(k: string, opts?: Partial<KvDeleteOptions>): Promise<void>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              put(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  k: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  data: Payload,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  opts?: Partial<KvPutOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              update(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  k: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  data: Payload,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  version: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  timeout?: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • create: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Creates a new entry ensuring that the entry does not exist (or +KV | @nats-io/kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                KV: RoKV & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    create(k: string, data: Payload, markerTTL?: string): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    delete(k: string, opts?: Partial<KvDeleteOptions>): Promise<void>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    destroy(): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    purge(k: string, opts?: Partial<KvPurgeOptions>): Promise<void>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    put(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        k: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        data: Payload,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        opts?: Partial<KvPutOptions>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    update(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        k: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        data: Payload,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        version: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        timeout?: number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ): Promise<number>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • create: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Creates a new entry ensuring that the entry does not exist (or the current version is deleted or the key is purged) If the entry already exists, this operation fails.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • data: Payload

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • delete: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Deletes the entry stored under the specified key. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    markerTTL is specified as a Go duration strings +("10s", "1m", "1h"...)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • data: Payload
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • OptionalmarkerTTL: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      duration is specified as a string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • delete: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Deletes the entry stored under the specified key. Deletes are soft-deletes. The server will add a new entry marked by a "DEL" operation. Note that if the KV was created with an underlying limit (such as a TTL on keys) it is possible for a key or the soft delete marker to be removed without additional notification on a watch.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • destroy: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Destroys the underlying stream used by the KV. This +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • destroy: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Destroys the underlying stream used by the KV. This effectively deletes all data stored under the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • purge: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Deletes and purges the specified key and any value +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • purge: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Deletes and purges the specified key and any value history.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • put: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Sets or updates the value stored under the specified key.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • update: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Updates the existing entry provided that the previous sequence +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • put: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Sets or updates the value stored under the specified key.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • update: function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Updates the existing entry provided that the previous sequence for the Kv is at the specified version. This ensures that the KV has not been modified prior to the update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • data: Payload
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • version: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Optionaltimeout: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      in millis

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns Promise<number>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/kv/types/KvCodec.html b/docs/kv/types/KvCodec.html index d819d162..9652f47f 100644 --- a/docs/kv/types/KvCodec.html +++ b/docs/kv/types/KvCodec.html @@ -1,5 +1,3 @@ -KvCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias KvCodec<T>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Generic type for encoding and decoding values -before they are stored or returned to the client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type KvCodec<T> = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  decode(k: T): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  encode(k: T): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • T
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +KvCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias KvCodec<T>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type KvCodec<T> = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    decode(k: T): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    encode(k: T): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • T
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/kv/types/KvCodecs.html b/docs/kv/types/KvCodecs.html index c928edcc..b1ee0ed9 100644 --- a/docs/kv/types/KvCodecs.html +++ b/docs/kv/types/KvCodecs.html @@ -1,5 +1,8 @@ -KvCodecs | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias KvCodecs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type KvCodecs = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      key: KvCodec<string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      value: KvCodec<Uint8Array>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  key +KvCodecs | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias KvCodecs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    A KvCodecs object contains two codecs: one for keys and one for values. +These codecs are used to encode and decode keys and values before they are stored +or retrieved from the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type KvCodecs = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        key: KvKeyCodec;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        value: KvPayloadCodec;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    key: KvCodec<string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Codec for Keys in the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    value: KvCodec<Uint8Array>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Codec for Data in the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Codec for Keys in the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Codec for Data in the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/kv/types/KvDeleteOptions.html b/docs/kv/types/KvDeleteOptions.html index 312570da..ea8da5ca 100644 --- a/docs/kv/types/KvDeleteOptions.html +++ b/docs/kv/types/KvDeleteOptions.html @@ -1,4 +1,4 @@ -KvDeleteOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias KvDeleteOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type KvDeleteOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          previousSeq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      previousSeq +KvDeleteOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias KvDeleteOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type KvDeleteOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            previousSeq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        previousSeq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If set the KV must be at the current sequence or the put will fail.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/kv/types/KvEntry.html b/docs/kv/types/KvEntry.html index 71579ba2..91406075 100644 --- a/docs/kv/types/KvEntry.html +++ b/docs/kv/types/KvEntry.html @@ -1,15 +1,16 @@ -KvEntry | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias KvEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type KvEntry = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              bucket: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              created: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              delta?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              key: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              length: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              operation: "PUT" | "DEL" | "PURGE";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              revision: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              value: Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              json<T>(): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              string(): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          bucket +KvEntry | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias KvEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type KvEntry = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                bucket: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                created: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                delta?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                key: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                length: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                operation: "PUT" | "DEL" | "PURGE";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                rawKey: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                revision: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                value: Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                json<T>(): T;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                string(): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            created: Date
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            delta?: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            length: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            operation: "PUT" | "DEL" | "PURGE"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            revision: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Convenience method to parse the entry payload as JSON. This method +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            bucket: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            created: Date
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            delta?: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            length: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            operation: "PUT" | "DEL" | "PURGE"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rawKey: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            revision: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            value: Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Convenience method to parse the entry payload as JSON. This method will throw an exception if there's a parsing error;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Convenience method to parse the entry payload as string. This method +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns T

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Convenience method to parse the entry payload as string. This method may throw an exception if there's a conversion error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/kv/types/KvKeyCodec.html b/docs/kv/types/KvKeyCodec.html new file mode 100644 index 00000000..3d7d0882 --- /dev/null +++ b/docs/kv/types/KvKeyCodec.html @@ -0,0 +1,27 @@ +KvKeyCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias KvKeyCodec

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A key codec is used to encode and decode keys before they are stored +or returned to the client in a Key-Value store.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The codec transforms each token (part between dots) in a key string, allowing +for custom encoding/decoding while preserving the hierarchical structure of NATS subjects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Enables custom encoding of keys (e.g., base64, encryption, or custom mappings)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Preserves the ability to use NATS subject wildcards for filtering
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Ensures proper storage and retrieval of keys with special characters
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Must preserve the dot-delimited structure of NATS subjects
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              3. Must handle wildcard tokens (* and >) without modification
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              4. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              5. Must be able to properly encode/decode each token independently
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              6. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              7. Must be deterministic (same input always produces same output)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              8. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Original key: "users.john.profile"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Encoded key: "dXNlcnM=.am9obg==.cHJvZmlsZQ=="

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // With wildcards (these remain unchanged):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Original key: "users.*.profile"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              // Encoded key: "dXNlcnM=.*.cHJvZmlsZQ==" +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Note: This codec is specifically for subject-compatible transformations of keys, +not for general data transformation or serialization. It operates at the token level +to preserve NATS subject semantics, ensuring that filtering, watches, and other +subject-based operations continue to work properly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type KvKeyCodec = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  decode(k: string): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  encode(k: string): string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Decodes a key or key token after retrieval

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Encodes a key or key token before storage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • k: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/kv/types/KvLimits.html b/docs/kv/types/KvLimits.html index 9704dcb1..85efe35b 100644 --- a/docs/kv/types/KvLimits.html +++ b/docs/kv/types/KvLimits.html @@ -1,6 +1,7 @@ -KvLimits | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias KvLimits

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type KvLimits = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    compression?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    description: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    history: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    maxValueSize: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    mirror?: StreamSource;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    placement: Placement;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    replicas: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    republish: Republish;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    sources?: StreamSource[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    storage: StorageType;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ttl: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                compression? +KvLimits | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias KvLimits

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type KvLimits = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      compression?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      description: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      history: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      markerTTL: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max_bytes: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      maxValueSize: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      mirror?: StreamSource;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      placement: Placement;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      replicas: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      republish: Republish;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sources?: StreamSource[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      storage: StorageType;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ttl: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  compression?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the compression level of the KV. This feature is only supported in servers 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  description: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the specified description on the stream of the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  history: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of maximum messages allowed per subject (key).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum number of bytes on the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  maxValueSize: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum size of a value on the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mirror?: StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Maintains a 1:1 mirror of another kv stream with name matching this property.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  placement: Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Placement hints for the stream hosting the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  replicas: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of replicas for the KV (1,3,or 5).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  republish: Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Republishes edits to the KV on a NATS core subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  sources?: StreamSource[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  List of Stream names to replicate into this KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  storage: StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The backing store of the stream hosting the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ttl: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum number of millis the key should live +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  description: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sets the specified description on the stream of the KV.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  history: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of maximum messages allowed per subject (key).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  markerTTL: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  When set, this will turn on the stream's allow_msg_ttl, and +set the subject_delete_marker_ttl to the specified number of +milliseconds. Note that while you can change this setting, you +cannot make it 0 once set as the allow_msg_ttl cannot be disabled once set.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  max_bytes: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum number of bytes on the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  maxValueSize: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum size of a value on the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mirror?: StreamSource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Maintains a 1:1 mirror of another kv stream with name matching this property.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  placement: Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Placement hints for the stream hosting the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  replicas: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of replicas for the KV (1,3,or 5).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  republish: Republish

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Republishes edits to the KV on a NATS core subject.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  sources?: StreamSource[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  List of Stream names to replicate into this KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  storage: StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The backing store of the stream hosting the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ttl: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The maximum number of millis the key should live in the KV. The server will automatically remove keys older than this amount. Note that deletion of delete markers are not performed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/kv/types/KvOptions.html b/docs/kv/types/KvOptions.html index 39f6ae5a..34951a57 100644 --- a/docs/kv/types/KvOptions.html +++ b/docs/kv/types/KvOptions.html @@ -8,4 +8,4 @@ 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • streamName: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The underlying stream name for the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • timeout: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  How long to wait in milliseconds for a response from the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/kv/types/KvPayloadCodec.html b/docs/kv/types/KvPayloadCodec.html new file mode 100644 index 00000000..a9f99947 --- /dev/null +++ b/docs/kv/types/KvPayloadCodec.html @@ -0,0 +1,26 @@ +KvPayloadCodec | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias KvPayloadCodec

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    A payload codec for transforming data before storage and after retrieval in a Key-Value store.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The KvPayloadCodec handles the transformation of values between the application layer and +the storage layer in the NATS Key-Value store. All values in NATS KV are ultimately stored +as binary data (Uint8Array), and this codec provides a way to customize how data is +encoded/decoded.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. When storing: Application data (string or Uint8Array) → encode() → Uint8Array (stored in NATS)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. When retrieving: Uint8Array (from NATS) → decode() → Uint8Array (returned to application)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    4. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • The codec always returns Uint8Array, but KvEntry provides convenience methods (string(), json()) +for parsing the binary data into other formats
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Even when the input is a string, the codec must convert it to and work with Uint8Array
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • The decode method must always return a Uint8Array, even if your application uses string values
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Custom codecs can implement compression, encryption, or other transformations
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Compression: Reduce the size of stored data
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Encryption: Secure sensitive data at rest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Simple compression codec using a hypothetical compression library
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    const CompressionCodec = (): KvPayloadCodec => {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    encode(v: Payload): Uint8Array {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Convert string to Uint8Array if needed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    const data = typeof v === "string" ? new TextEncoder().encode(v) : v;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Apply compression
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return compressData(data);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    decode(d: Uint8Array): Uint8Array {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    // Decompress the data
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    return decompressData(d);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }; +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type KvPayloadCodec = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        decode(d: Uint8Array): Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        encode(v: Payload): Uint8Array;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • d: Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • v: Payload

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Uint8Array

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/kv/types/KvPurgeOptions.html b/docs/kv/types/KvPurgeOptions.html new file mode 100644 index 00000000..f5b99f0d --- /dev/null +++ b/docs/kv/types/KvPurgeOptions.html @@ -0,0 +1,12 @@ +KvPurgeOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias KvPurgeOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      KvPurgeOptions: KvDeleteOptions & { ttl: string }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • ttl: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If set, the entry will notify when deleted after the specified duration. +Note that for this option to work, the KvBucket must have the +markerTTL option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Note that the duration is specified as a string. The duration format matches +Go duration strings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • "10s" - 10 seconds
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • "1m" - 1 minute
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • "1h" - 1 hour
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        If a unit suffix is not specified, it is assumed to be seconds.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/kv/types/KvPutOptions.html b/docs/kv/types/KvPutOptions.html index 7f5a790c..777d3815 100644 --- a/docs/kv/types/KvPutOptions.html +++ b/docs/kv/types/KvPutOptions.html @@ -1,7 +1,7 @@ -KvPutOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias KvPutOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type KvPutOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            previousSeq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            timeout: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        previousSeq +KvPutOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias KvPutOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type KvPutOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              previousSeq: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              timeout: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          previousSeq: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If set the KV must be at the current sequence or the put will fail.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          timeout: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Timeout value in milliseconds for the put, overrides Jetstream context's +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          timeout: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Timeout value in milliseconds for the put, overrides Jetstream context's default.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/kv/types/KvStatus.html b/docs/kv/types/KvStatus.html index 5849fafb..982856f5 100644 --- a/docs/kv/types/KvStatus.html +++ b/docs/kv/types/KvStatus.html @@ -1,8 +1,11 @@ -KvStatus | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias KvStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            KvStatus: KvLimits & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                bucket: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                metadata?: Record<string, string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                size: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                streamInfo: StreamInfo;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                values: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • bucket: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The simple name for a Kv - this name is typically prefixed by KV_.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +KvStatus | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias KvStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                KvStatus: KvLimits & {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    bucket: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    markerTTL: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    metadata?: Record<string, string>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    size: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    streamInfo: StreamInfo;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    values: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • bucket: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The simple name for a Kv - this name is typically prefixed by KV_.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • markerTTL: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of millis delete markers will live before they are removed by the server. +Note that this value will be set to 0 if the underlying stream doesn't enable +this feature. This is a feature that must be configured on bucket creation.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalmetadata?: Record<string, string>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Metadata field to store additional information about the stream. Note that keys starting with _nats are reserved. This feature only supported on servers 2.10.x and better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • size: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Size of the bucket in bytes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • streamInfo: StreamInfo

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  The StreamInfo backing up the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • values: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Number of entries in the KV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/kv/types/KvWatchEntry.html b/docs/kv/types/KvWatchEntry.html index c5412f70..9a3ecd1a 100644 --- a/docs/kv/types/KvWatchEntry.html +++ b/docs/kv/types/KvWatchEntry.html @@ -1 +1 @@ -KvWatchEntry | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias KvWatchEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                KvWatchEntry: KvEntry & { isUpdate: boolean }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +KvWatchEntry | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias KvWatchEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  KvWatchEntry: KvEntry & { isUpdate: boolean }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/kv/types/KvWatchInclude.html b/docs/kv/types/KvWatchInclude.html index 12e68da9..ae1b04b3 100644 --- a/docs/kv/types/KvWatchInclude.html +++ b/docs/kv/types/KvWatchInclude.html @@ -1 +1 @@ -KvWatchInclude | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias KvWatchInclude

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    KvWatchInclude: typeof KvWatchInclude[keyof typeof KvWatchInclude]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +KvWatchInclude | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias KvWatchInclude

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      KvWatchInclude: typeof KvWatchInclude[keyof typeof KvWatchInclude]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/kv/types/KvWatchOptions.html b/docs/kv/types/KvWatchOptions.html index 415795cb..b6ba264e 100644 --- a/docs/kv/types/KvWatchOptions.html +++ b/docs/kv/types/KvWatchOptions.html @@ -1,15 +1,15 @@ -KvWatchOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias KvWatchOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type KvWatchOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            headers_only?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ignoreDeletes?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            include?: KvWatchInclude;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            key?: string | string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            resumeFromRevision?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        headers_only? +KvWatchOptions | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias KvWatchOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type KvWatchOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              headers_only?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ignoreDeletes?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              include?: KvWatchInclude;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              key?: string | string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              resumeFromRevision?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          headers_only?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Notification should only include entry headers

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ignoreDeletes?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Skips notifying deletes. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ignoreDeletes?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Skips notifying deletes. @default: false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          include?: KvWatchInclude

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Specify what to include in the watcher, by default all last values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          key?: string | string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A key or wildcarded key following keys as if they were NATS subject names. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          include?: KvWatchInclude

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Specify what to include in the watcher, by default all last values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          key?: string | string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A key or wildcarded key following keys as if they were NATS subject names. Note you can specify multiple keys if running on server 2.10.x or better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          resumeFromRevision?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Starts watching at the specified revision. This is intended for watchers +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          resumeFromRevision?: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Starts watching at the specified revision. This is intended for watchers that have restarted watching and have maintained some state of where they are in the watch.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/kv/types/RoKV.html b/docs/kv/types/RoKV.html index 2e352394..fb8dddd8 100644 --- a/docs/kv/types/RoKV.html +++ b/docs/kv/types/RoKV.html @@ -1,4 +1,4 @@ -RoKV | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias RoKV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoKV = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                get(k: string, opts?: { revision: number }): Promise<KvEntry>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                history(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    opts?: { key?: string | string[] },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ): Promise<QueuedIterator<KvWatchEntry>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                keys(filter?: string | string[]): Promise<QueuedIterator<string>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                status(): Promise<KvStatus>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                watch(opts?: KvWatchOptions): Promise<QueuedIterator<KvWatchEntry>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            get +RoKV | @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/kv
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias RoKV

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoKV = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  get(k: string, opts?: { revision: number }): Promise<KvEntry>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  history(
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      opts?: { key?: string | string[] },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ): Promise<QueuedIterator<KvWatchEntry>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  keys(filter?: string | string[]): Promise<QueuedIterator<string>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  status(): Promise<KvStatus>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  watch(opts?: KvWatchOptions): Promise<QueuedIterator<KvWatchEntry>>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              get history keys status @@ -7,11 +7,11 @@ Note that the entry returned could be marked with a "DEL" or "PURGE" operation which signifies the server stored the value, but it is now deleted.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Optionalopts: { revision: number }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns Promise<KvEntry>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns an iterator of the specified key's history (or all keys). +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • k: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalopts: { revision: number }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<KvEntry>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns an iterator of the specified key's history (or all keys). Note you can specify multiple keys if running on server 2.10.x or better.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalopts: { key?: string | string[] }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns an iterator of all the keys optionally matching +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalopts: { key?: string | string[] }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<QueuedIterator<KvWatchEntry>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns an iterator of all the keys optionally matching the specified filter.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • Optionalfilter: string | string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  default is all keys

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<QueuedIterator<string>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns information about the Kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns Promise<QueuedIterator<string>>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Returns information about the Kv

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns Promise<KvStatus>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/kv/variables/KvWatchInclude.html b/docs/kv/variables/KvWatchInclude.html index de39487f..f8bae4e1 100644 --- a/docs/kv/variables/KvWatchInclude.html +++ b/docs/kv/variables/KvWatchInclude.html @@ -2,4 +2,4 @@
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyLastValue: ""

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Include the last value for all the keys

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • ReadonlyUpdatesOnly: "updates"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Don't include history or last values, only notify of updates

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/obj/assets/hierarchy.js b/docs/obj/assets/hierarchy.js index 88636f05..fb85f0ad 100644 --- a/docs/obj/assets/hierarchy.js +++ b/docs/obj/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzwMKVNfWAgCbHgqm" \ No newline at end of file +window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg==" \ No newline at end of file diff --git a/docs/obj/assets/navigation.js b/docs/obj/assets/navigation.js index 3371aee0..a458b3b6 100644 --- a/docs/obj/assets/navigation.js +++ b/docs/obj/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJyd0sFPwjAUBvD/pWeiMFSUo5xIMCwi8WA8PNoHG3Tdsr4RCeF/d3MTB8N25fq+7/ulh37sGeEXsSF7Bo0Pd6NYIGcdlgAF+ZFL0Br1bS28CSiSeWMTKsGGPe/x0Dkz5qk0Mr95K8kHIVDYvFrLpE4X66ipFFfLCjmN1TL+29IuKZdVcrr3uk+D3r3XMF5RZ5IuK2XWzplRnOJl5idyUCah2hikInbQXpDAoBWxozZNKIyVtqBVy8G2u+6mn1E+MplVw8GcEVBmIstCO/EdiAf/f+RjbNN8CRwjVI2vfAxsQvF0WOFbvjo3atFVyhbSEBbSJPW9w+c33fipxg==" \ No newline at end of file +window.navigationData = "eJyd0k1PhDAQgOH/MmeiLn5z1JOJBuJqPBgPs+0ouKU0dDBuzP53g+CKy9pSr31nnvQwjx/A9M6QwAVaOjm6rCQJiMAg55CAUGgt2f1B3Mu5VBDBstASkll8to62jPtaOZnvPknKUEqSPm8w5VLTxWs5VtpXzxYJvtLP1c8ur0y32Zff+/HB+ensOB4Zt2QbxbuVrk1z5lzVtJv5SgHKdaGXDqnNAdoNMTq0NgdqqeGi0taD9lMBtt8NN7OGU8Mus58IMOeM3LjIbmCa+IAs8r8PeZN9WqZQUEl6dMqb4BPar+ML3a3M6I4H6V/KG9YFLpRLOozXT5/d+KnG" \ No newline at end of file diff --git a/docs/obj/assets/search.js b/docs/obj/assets/search.js index 76bc4b9c..10d0efa6 100644 --- a/docs/obj/assets/search.js +++ b/docs/obj/assets/search.js @@ -1 +1 @@ -window.searchData = "eJytnFtv27gSx7+L/Wpkw7ucxy7OARbYxRbtuTwEQaDYaurWN8hyd3uCfvcjSrQ0o6Gkkd2n1NZw/sPhj0NaEvs2yw9/nWYPj2+zr5v9evYgZLKY7dNdNnuYvUtPmdW/HtbZaraYnfNt+d1qm55O2ekXcO3uc7HblgbhUmk0+7G4+DNCNv5Wh/2pyM+r4pCP+ptjY+B7MTumebYvOgG2kvJet30oL5WXx+Uau6uVsj1PqbGbokSH5d/5dmhkLpd/4uAglxPGp4n0miHCoqxRGtMbHCisxxqrMb1P+WH3rjT78Ps/vLvN/pWl7Zu9WF0aZm2zW+IoDldEURxujSGK7vt0vc7WIwADo5+LcdfxNJhh7FciTQLggs3QHsObaHMhZ2hPQZ3EcQ3wjJj42JOIpsMfjwdOgT9fvuxICP7Ln4J444iFdBULCPNe6kbly2nAeXWR5RMNxSrP0oKiCYK+GEz3vd2cigHP4fJ0v4djth/wGy4z/S6dMBKikK2K3/afDo1A8f1Yuw8XBqGI+/uQnc7bIuqxvjToEzGwTot0zNE8GPVmoA2pRyXLc0Byn8zF6nqdTV+ioUwwmqQSH4eP5czLonrVlZGRRYvJNivGPM0bq6HQ65h6dcqCcfg+LnQxu1rpNYvzCVRqk1sU3m0PLwyVl9rsaqVeqoAMA6pBje1m/3VMI9jcpMFBthI6BcMb1E6jCIyV7DGN43lUoja5RYFDWWl2K2WnLN2OyQSb6zWKtDifRlUuVlfrnI/rdLyeNVZX6/yVFqvPYzIXo2kqvfX+98GZ6q/yV9+X8+rrUKFsvM0by9FeVPH16FV/GGrBbqrWQNb+yHr2Gc3VCXuW7LTKN8dic9gzXM6x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Y0Z/hARKDaKx6Dl08KAcigHDveNOuvgAYMvOONEJ2eElCoeNS0nw6C7IJBsuF+yvFqZvBWf4UEOwfwS8PtTMrME/jCEDgEADgejc0HbMAFyFXKm/ft99/AC9i4WF6O6P/zAmxhOm9h8gum0wpRrQHVNiTc8ebb5VgooAqMnubVtnDoE9RHkCfNyPbTIjluj35TkCePq6e3t/8DT1s03w=="; \ No newline at end of file diff --git a/docs/obj/index.html b/docs/obj/index.html index f9b950dd..d79834ad 100644 --- a/docs/obj/index.html +++ b/docs/obj/index.html @@ -1,5 +1,5 @@ @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/obj

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                License -jetstream +obj JSDoc

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                JSR JSR

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/obj/types/Placement.html b/docs/obj/types/Placement.html index 933b8e08..7c04fc9e 100644 --- a/docs/obj/types/Placement.html +++ b/docs/obj/types/Placement.html @@ -1,5 +1,5 @@ -Placement | @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type Placement = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      cluster: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      tags: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  cluster +Placement | @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias Placement

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type Placement = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        cluster: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tags: string[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    cluster: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    The cluster to place the stream on

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    tags: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tags matching server configuration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    tags: string[]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Tags matching server configuration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/obj/types/StorageType.html b/docs/obj/types/StorageType.html index 4d282fa0..54bd8d47 100644 --- a/docs/obj/types/StorageType.html +++ b/docs/obj/types/StorageType.html @@ -1 +1 @@ -StorageType | @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      StorageType: typeof StorageType[keyof typeof StorageType]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +StorageType | @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias StorageType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        StorageType: typeof StorageType[keyof typeof StorageType]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/obj/variables/StorageType.html b/docs/obj/variables/StorageType.html index 7b274660..f0ec3d93 100644 --- a/docs/obj/variables/StorageType.html +++ b/docs/obj/variables/StorageType.html @@ -1,3 +1,3 @@ StorageType | @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @nats-io/obj
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Variable StorageTypeConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          StorageType: { File: "file"; Memory: "memory" }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyFile: "file"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Store persistently on files

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • ReadonlyMemory: "memory"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Store in server memory - doesn't survive server restarts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/services/assets/hierarchy.js b/docs/services/assets/hierarchy.js index cfe71cb1..090a7bdf 100644 --- a/docs/services/assets/hierarchy.js +++ b/docs/services/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyNjzEOwyAUQ+/imbQSEo3CBXqAjlUGBD8KKoHqQ7pE3L2kqrp0yeLBft/W38AplQx979UowDQFssWn2KwNctg1moWgcSN+eUsQePjooKW6CKwcWuRjIZ6MpXz+Uqe5LKGhNpjcqlCy6/az7oeiCvTqv//KaX0eG/mgB5ZaOPvgmGL7Uw5jrfUNvQpTAw==" \ No newline at end of file +window.hierarchyData = "eJyNjbEKgzAURf/lzrGFgBXfD/QDOopDSJ4YGpPyEl0k/14spUsXlzude84OSalk0NC1o4LwFNgWn2IG7dD9sdEsDMKDZfOWofD00YF0e1NYJYDgY2GZjOV8/VKXuSwBCjaYnEEo2TXHrfmhqApd+++/S1pf5yIf9ERJwc4+OOEIGnQ/1lrfvQpTAw==" \ No newline at end of file diff --git a/docs/services/assets/navigation.js b/docs/services/assets/navigation.js index b2af8682..3ed530b8 100644 --- a/docs/services/assets/navigation.js +++ b/docs/services/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJyN1F1PwjAUBuD/smuiMoMf3BIiXKCJGG+MF2U9g8atXdrjIjH+d8ug2cbacm77nvNsOf34+E0QfjCZJmvQtchgrrXSySipGO7salYwY8Bcd9OrHZaFLfkSkifTcfrwN2qVOis93XY12nXU20YhEXTOsvbL/fZ0cjdsnxUCJMaQYwWBetLqu4pJTQEBWpltjLExAXkFUylpovNxNTFuLnmlRHdEuK8s4dbPem8e78eT1NO/lLkKGYeM6rxUKOw/h6hTTNXWyDBoNeEl6ZmVwKPcsOKS6U6ekrnYnnO9kCgtmOQF6AB1SonWktvrIHAfwFxM1TzHohMRlRUg4wxZQHIxUXPX4s0aAbFbQlS9Z6ObEZ130JsAc4iISvMozxSHBTDePRk104JtirPnu63s+7chmsZSSf+ODMzwrvjQ/iAH2HCYFvn8B1MiXzE=" \ No newline at end of file +window.navigationData = "eJyN1MluwjAQBuB38RmVEkSXXBECDrRSqXqpejDxJFhNbMueRkUV716xRFlt5pp/5os0HvvzjyH8IovZFmwpE1hYqy0bMcNxz2KW5Nw5cONmerfHImcj9i2VYPEkejqOaqVMioHuMimCXRe9bpQKwaY8qf/cbo9mD/32eS5BYQi5VBCopdU/JiSdCwjQxmUhZuMyAvIGzmjlgvOpakLcQgmjZXNEeDDgxtX3Tu/98+NkFg30r1WqfcYpozqvBqVWzkddY6q2RY5e6xzekl54ASLI9StumdXmaZXKrMu1QqK04krkYD3UNSVaawEKJR48WBVTtYG1aEREZQPIBUfukaqYqFXX4v1gwCM2S4jq4G40M6LzAXbnYU4RUTk/ynMtYAVcNDej5FbyXd55vuvKtj/10TSWSg6fSM/0n8oQ2h5kD+sPcxodv/4BUyJfMQ==" \ No newline at end of file diff --git a/docs/services/assets/search.js b/docs/services/assets/search.js index b3d99ced..8b3750c0 100644 --- a/docs/services/assets/search.js +++ b/docs/services/assets/search.js @@ -1 +1 @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a/docs/services/classes/ServiceError.html b/docs/services/classes/ServiceError.html index 806dd290..e00d674b 100644 --- a/docs/services/classes/ServiceError.html +++ b/docs/services/classes/ServiceError.html @@ -4,12 +4,33 @@ message name stack? -prepareStackTrace? stackTraceLimit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • code: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • message: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns ServiceError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          cause?: unknown
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          code: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          message: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stack?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional override for formatting stack traces

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stackTraceLimit: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Create .stack property on a target object

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • targetObject: object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • OptionalconstructorOpt: Function

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns void

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • msg: Msg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructors

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • code: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • message: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns ServiceError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          cause?: unknown
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          code: number
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          message: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          name: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stack?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          stackTraceLimit: number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            const myObject = {};
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Error.captureStackTrace(myObject);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            myObject.stack; // Similar to `new Error().stack` +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function a() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            b();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function b() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            c();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function c() {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Create an error without stack trace to avoid calculating the stack trace twice.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            const { stackTraceLimit } = Error;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Error.stackTraceLimit = 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            const error = new Error();
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Error.stackTraceLimit = stackTraceLimit;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            // Capture the stack trace above function b
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throw error;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a(); +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • targetObject: object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • OptionalconstructorOpt: Function

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns void

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • msg: Msg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/services/index.html b/docs/services/index.html index fef4ec75..e5e2a4e8 100644 --- a/docs/services/index.html +++ b/docs/services/index.html @@ -1,5 +1,5 @@ @nats-io/services
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @nats-io/services
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @nats-io/services

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            License -jetstream +services JSDoc

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            JSR JSR