Comments (2)
- Since DynamoDB can support text and binary you should implement
TextStateStore
andBinaryStateStore
. You may be able to have a single abstract baseDynamoDBStateStoreActor<T>
that works for both Binary and Text. See this example. - Interests are actors that have an interest in knowing what happened to the requested operation, and is an async callback interface. Interests are not really promises in that they are not a single-write container. Rather, it's more like this:
- In untyped actor systems a receiver knows its sender and that enables the receiver to reply to the sender with any message of any given type.
- When using strongly typed actors, the sender must provide a reference to itself as an expected type that adheres to the actor message exchange protocol (contract).
- In vlingo/actors a
Completes
is like an asyncFuture
and thePromise
is represented by itswith(T outcome)
that causes the completion of theCompletes
. SeeBasicCompletes
as a reference, but you should normally never need to create aCompletes
yourself. Just declare any interface/protocol/contract method as returningCompletes<T>
(whereT
is some type, such asString
).
- In vlingo/symbio the
Dispatcher
is anyActor
that implements this contract and is interested in dispatching the newly writtenState
as aDispatchable
. This might be for the purpose of projecting the newState
into a QCRS Query Model. This is represented by this package and its state child package.- Of course a projection could also be used to publish some
DomainEvent
about the newState
by means of interpreting itsmetadata.operation
, which was the cause of the newState
- For an example of this, see these tests, etc.
- Of course a projection could also be used to publish some
from xoom-symbio.
Solved by #2
from xoom-symbio.
Related Issues (7)
- Default Adapters HOT 8
- Need Clarity Around SourcedTypeRegistry and Sourced<T> and Defaulted Adapters HOT 2
- The mapping registration should be moved outside ObjectStore HOT 2
- Make State Data Optional HOT 1
- JDBCJournalActor can no longer be initialised with the Journal factory
- Move Concrete Implementations to Implementation-Specific Repositories HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xoom-symbio.