Expose the DObject here. Then the client code needn't keep both a subscriber and an object lying around.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6693 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -71,6 +71,14 @@ public class SafeSubscriber implements Subscriber
|
||||
return _active;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the object we are subscribed to, or null if the subscription is not yet complete.
|
||||
*/
|
||||
public function getObject () :DObject
|
||||
{
|
||||
return _object;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiates the subscription process.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user