mirror of
https://github.com/morluto/rea.git
synced 2026-11-09 16:26:36 +00:00
Require resource-owning provider ports to expose cleanup and migrate test adapters to delegate or explicitly close their own resources.
21 lines
659 B
TypeScript
21 lines
659 B
TypeScript
import type {
|
|
ExecutionOptions,
|
|
ProviderIdentity,
|
|
} from "../AnalysisProvider.js";
|
|
import type { AnalysisError } from "../../domain/analysisErrorBase.js";
|
|
import type {
|
|
Il2cppMetadata,
|
|
Il2cppMetadataProviderInput,
|
|
} from "../../domain/il2cpp/il2cppMetadata.js";
|
|
import type { Result } from "../../domain/result.js";
|
|
|
|
/** Replaceable offline metadata reader with no target-execution or decryption authority. */
|
|
export interface Il2cppMetadataPort {
|
|
readonly identity: ProviderIdentity;
|
|
close(): Promise<void>;
|
|
inspect(
|
|
input: Il2cppMetadataProviderInput,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<Il2cppMetadata, AnalysisError>>;
|
|
}
|