lookup

inline fun <P : Any> lookup(): PayloadCodec<P>?

Looks up the codec registered for payload type P, or returns null if none has been registered.

Used by the conversational DSL (keep audit in journal) to resolve the codec from the journal's inferred type argument.

Return

The registered codec, or null.

Parameters

P

The payload type to look up.