Variable WatchEvent

WatchEvent: {
    create<I>(base?: I): WatchEvent;
    decode(input: Uint8Array | Reader, length?: number): WatchEvent;
    encode(message: WatchEvent, writer?: Writer): Writer;
    fromJSON(object: any): WatchEvent;
    fromPartial<I>(object: I): WatchEvent;
    toJSON(message: WatchEvent): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            document?: string;
            id?: string;
            operation?: string;
        } & {
            document?: string;
            id?: string;
            operation?: string;
        } & { [ K in string | number | symbol]: never }

      Parameters

      • Optional base: I

      Returns WatchEvent

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            document?: string;
            id?: string;
            operation?: string;
        } & {
            document?: string;
            id?: string;
            operation?: string;
        } & { [ K in string | number | symbol]: never }

      Parameters

      • object: I

      Returns WatchEvent

  • toJSON:function

Generated using TypeDoc