Persistently cached objects for PB.

Maintainer: Glyph Lefkowitz

Future Plans: None known.

Class Publishable An object whose cached state persists across sessions.
Class RemotePublished The local representation of remote Publishable object.
Function whenReady Wrap a deferred returned from a pb method in another deferred that expects a RemotePublished as a result. This will allow you to wait until the result is really available.
Function _pubReady (internal)
def whenReady(d):

Wrap a deferred returned from a pb method in another deferred that expects a RemotePublished as a result. This will allow you to wait until the result is really available.

Idiomatic usage would look like:

   publish.whenReady(serverObject.getMeAPublishable()).addCallback(lookAtThePublishable)
def _pubReady(result, d2):

(internal)

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.