docs
3.1.1
common
docs
/
dev.inmo.tgbotapi.extensions.behaviour_builder.utils.handlers_registrar
/
HandleableCallbackBasedHolder
Handleable
Callback
Based
Holder
common
class
HandleableCallbackBasedHolder
<
T
>
:
HandleableTriggersHolder
<
suspend
(
T
)
->
Boolean
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Handleable
Callback
Based
Holder
Link copied to clipboard
common
fun
HandleableCallbackBasedHolder
(
)
Content copied to clipboard
Functions
is
Handled
Link copied to clipboard
common
suspend
fun
isHandled
(
data
:
T
)
:
Boolean
Content copied to clipboard
register
Handleable
Link copied to clipboard
common
suspend
fun
registerHandleable
(
data
:
suspend
(
T
)
->
Boolean
)
Content copied to clipboard
unregister
Handleable
Link copied to clipboard
common
suspend
fun
unregisterHandleable
(
data
:
suspend
(
T
)
->
Boolean
)
Content copied to clipboard
Properties
handleable
Link copied to clipboard
common
val
handleable
:
List
<
suspend
(
T
)
->
Boolean
>
Content copied to clipboard