Giter Club home page Giter Club logo

Comments (2)

VaughnVernon avatar VaughnVernon commented on May 27, 2024
  • Since DynamoDB can support text and binary you should implement TextStateStore and BinaryStateStore. You may be able to have a single abstract base DynamoDBStateStoreActor<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 async Future and the Promise is represented by its with(T outcome) that causes the completion of the Completes. See BasicCompletes as a reference, but you should normally never need to create a Completes yourself. Just declare any interface/protocol/contract method as returning Completes<T> (where T is some type, such as String).
  • In vlingo/symbio the Dispatcher is any Actor that implements this contract and is interested in dispatching the newly written State as a Dispatchable. This might be for the purpose of projecting the new State 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 new State by means of interpreting its metadata.operation, which was the cause of the new State
    • For an example of this, see these tests, etc.

from xoom-symbio.

kmruiz avatar kmruiz commented on May 27, 2024

Solved by #2

from xoom-symbio.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.