FunctionBundleLoader typedef

FunctionBundleLoader = Future<FunctionBundle> Function(String slug)

Loader for a bundled Edge Function's source files. Returns the entrypoint path (e.g. index.ts) plus every file the Management API should receive in the multipart upload, keyed by relative path. Injectable for tests.

Implementation

typedef FunctionBundleLoader = Future<FunctionBundle> Function(String slug);