Known implementations: twisted.mail.test.test_imap.SimpleMailbox

A supplementary interface for mailboxes which require cleanup on close.

Implementing this interface is optional. If it is implemented, the protocol code will call the close method defined whenever a mailbox is closed.

Method close Close this mailbox.
def close():

Close this mailbox.

ReturnsA Deferred which fires when this mailbox has been closed, or None if the mailbox can be closed immediately.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.