Class SerializableCommandAbstract

Hierarchy (view full)

Constructors

Properties

empty: __class = ...

Methods

  • Convert this command to an object that can be passed to JSON.stringify.

    Do not rely on the stability of the optupt of this function — it can change form without a major version increase.

    Returns Record<string | symbol, any>

  • Register a deserialization callback. This must be called at least once for every subclass of SerializableCommand.

    Parameters

    • commandTypeId: string
    • deserialize: DeserializationCallback

    Returns void

Generated using TypeDoc

OpenSource licenses