@eggjs/tegg-lifecycle
Version:
tegg lifecycle definition
12 lines (11 loc) • 464 B
TypeScript
import type { Id } from '@eggjs/tegg-types';
export declare class IdenticalUtil {
private static objIndex;
private static protoIndex;
private static ctxIndex;
static createLoadUnitId(loadUnitName: string): Id;
static createProtoId(loadUnitId: Id, name: PropertyKey): Id;
static createLoadUnitInstanceId(loadUnitId: Id): Id;
static createContextId(traceId?: string): string;
static createObjectId(protoId: Id, ctxId?: Id): string;
}