setChain

fun <T : Link<*>> InputListener.setChain(user: User, firstLink: T)

Set chain for input listening.

Basically uses chain full qualified name as a chain id.

Parameters

T

given ChainLink

user

The user for whom it will be set.

firstLink

The First link that will be processed (it doesn't have to be the first link in the chain, feel free to set up any of).