resolve

open fun resolve(executable: Executable, event: Event): R?(source)

Returns an object.

If this returns null, and the parameter is required, i.e., not nullable or optional, then the handler will throw.

Parameters

executable

Basic information about the function using this resolver, may be any application command, text command, etc...

event

The event this resolver is called from