tryRegister

fun tryRegister(selectorKey: String, selector: ISelector): Boolean(source)

Tries to register the given selector with the given key.

Return

true if the registration was successful, false if there was a selector or load selector registered for the given key

Parameters

selectorKey

The key (as in key-value pair) to register a selector for

selector

The selector instance