trigger lazy initialization of ObjectPublisher observation after addObserver() (fixes #383)

This commit is contained in:
John Estropia
2020-04-15 16:48:42 +09:00
parent 73b7fcd907
commit 4049e1944a

View File

@@ -95,6 +95,7 @@ public final class ObjectPublisher<O: DynamicObject>: ObjectRepresentation, Hash
Internals.Closure(callback),
forKey: observer
)
_ = self.lazySnapshot
}
/**