CommandkitFunctionsProvideContextVersion: 1.2On this pageProvideContextprovideContext commandkitasync-context.ts Executes the provided function within a CommandKit context. Signaturefunction provideContext<R>(value: CommandKitEnvironment, receiver: () => R): R Parameters value parameterCommandKitEnvironment receiver parameter() => R