Home / @sym20/core / IRegistry

IRegistry interface

The registry is used to look up other modules

Signature
export interface IRegistry 

Remarks

Each public interface has a TypeTag that can be used to look up the module in the registry.

Example:

import { IConversationStore } from '@sym20/core-conversations';

const conversationStore = await registry.resolve<IConversationStore>(IConversationStore.TypeTag);

Methods

MethodDescription
resolve(symbol)

Look up a dependency