stateStreamId static method

String stateStreamId(
  1. String name
)

Get stream id of result-stream generated by stateful projections from projection name. The name parameter is used as an identifier for operations on the created projection. The id of the resulting stream is by default \$projections-${name}-result if resultStreamName is not given with the options method in the query,

options({
  resultStreamName: "my_demo_projection_result",
  $includeLinks: false,
  reorderEvents: false,
  processingLag: 0
})
```.

Implementation

static String stateStreamId(String name) => '\$projections-$name-state';