Name

RecordPublisher

Hierarchy

  • Publisher
    • RecordPublisher

Constructors

Methods

  • Closes this subscription

    Returns void

  • The subject that was requested

    Returns string

    the subject

  • Indicates whether this publisher has been closed

    Returns boolean

    true if closed

  • Indicates whether this subjet has been discard by the liberator

    Returns boolean

    true if discarded

  • Sends a Message to Liberator for the current subject

    Parameters

    • fields: {
          [key: string]: string;
      }

      the fields to send

      • [key: string]: string
    • image: boolean

      whether this is an image

    • commandListener: CommandListener

      an object with callbacks for the success/failure of sending this message

    Returns void

  • Sets an object to be called back when a discard is received for the current subject

    Parameters

    • discardHandler: RecordDiscardHandler

      a RecordDiscardHandler object to receive the onDiscard callback

    Returns void

Generated using TypeDoc