UNPKG

@dolittle/sdk.projections

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

12 lines (9 loc) 513 B
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { ProjectionCallback } from '../ProjectionCallback'; import { KeySelectorBuilderCallback } from './KeySelectorBuilderCallback'; import { TypeOrEventType } from './TypeOrEventType'; /** * Defines the specification of a projection on method. */ export type OnMethodSpecification<T> = [TypeOrEventType, KeySelectorBuilderCallback, ProjectionCallback<T>];