@dolittle/sdk.projections
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
19 lines (15 loc) • 633 B
text/typescript
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import { TenantIdLike } from '@dolittle/sdk.execution';
import { IProjectionStore } from '../IProjectionStore';
/**
* Defines a builder for {@link IProjectionStore}.
*/
export abstract class IProjectionStoreBuilder {
/**
* Build an {@link IProjectionStore} for the given tenant.
* @param { TenantIdLike } tenantId - The tenant id.
* @returns {IProjectionStore} The projection store.
*/
abstract forTenant(tenantId: TenantIdLike): IProjectionStore;
}