A ProjectionSetMessage represents setting the projection for a client.

interface ProjectionSetMessage<Projection> {
    payload: {
        domain: string;
        projection: Projection;
    };
    type: "projection/set";
}

Type Parameters

  • Projection

Properties

Properties

payload: {
    domain: string;
    projection: Projection;
}

Type declaration

type: "projection/set"