NodeSubscriptions
class NodeSubscriptions<T, P : Position<out P>>(environment: Environment<T, P>) : Subscription(source)
Exposes alchemist it.unibo.alchemist.model.Nodes as GraphQL subscriptions.
Parameters
environment
the environment.
Functions
Link copied to clipboard
Returns a Flow with the updated value of the it.unibo.alchemist.boundary.graphql.schema.model.surrogates.NeighborhoodSurrogate with the given node as a part of the neighborhood.
Link copied to clipboard
Returns a Flow with the updated value of the it.unibo.alchemist.boundary.graphql.schema.model.surrogates.NodeSurrogate with the given Id.