@dolittle/sdk.resources
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
17 lines (14 loc) • 593 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 { TenantId } from '@dolittle/sdk.execution';
import { IResources } from './IResources';
/**
* Defines a system that knows about Resources provided by the Runtime.
*/
export abstract class IResourcesBuilder {
/**
* Gets the the {@link IResources} resources for a specific tenant.
* @param {TenantId} tenant - The Tenant to get the {@link IResources} for.
*/
abstract forTenant(tenant: TenantId): IResources;
}