Applications (like the registry) can subscribe to specific document types on the network. Then the network engine will call the receiver func. when a document is received. The current implementation is very naive however;
- It's not persistent, meaning if the server crashes halfway some documents may not be received by the subscriber
- It's not ordered, so subscribers will receive documents out-of-order at some point
- It's not retryable, so error'd documents will never be retried by the application.
This needs a better solution.
Applications (like the registry) can subscribe to specific document types on the network. Then the network engine will call the receiver func. when a document is received. The current implementation is very naive however;
This needs a better solution.