namespace asyncTypes

These types are used by the AsyncObjectMapper. Here's the magic which makes object mapper schemas type safe and complete. You generally won't need to make use of these types within your own code; just ObjectMapper should be enough.

Interfaces

I
asyncTypes.AsyncMapperFunction

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.

I
asyncTypes.AsyncObjectMapperFunction

A callable function, equivalent to calling AsyncObjectMapper#map. It also exposes AsyncObjectMapperFunction#schema as a readonly property.

Type Aliases