modifier

fun <P : Any> modifier(type: ProjectionType, decode: (ProjectionValue) -> P, create: (P, RemoteClientActions) -> Modifier)(source)

Registers one typed active modifier decoder and factory before capability negotiation.