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) |
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)