Class: Effect

akkaserverless.replies. Effect


new Effect(method, message [, synchronous] [, metadata])

Side effect for a reply.

Parameters:
Name Type Argument Default Description
method protobuf.Method

The entity service method to invoke.

message object

The message to send to that service.

synchronous boolean <optional>
false

Whether the effect should be execute synchronously or not, default is false

metadata module:akkaserverless.Metadata <optional>

Metadata to send with the effect.