A function that takes some input object, and an optional context object, and returns a
promise of an output. This is used as part of an AsyncObjectMapperSchema
.
<>(input: TInputSubset,context: OptionalArgIfUndefined<TContextSubset>,): Promise<TOutput[TOutputKey] | AllowOmitIfOptional<TOutput, TOutputKey>>