DraftStore

Summary

DraftStore responds to Actions that interact with Drafts and exposes public getter methods to return Draft objects and sessions.

It also creates and queues {Task} objects to persist changes to the Mailspring API.

Remember that a "Draft" is actually just a "Message" with draft: true.

Instance Methods

isSendingDraft()

Look up the sending state of the given draftClientId. In popout windows the existance of the window is the sending state.

results matching ""

    No results matching ""