acknowledge abstract method Null safety

Future<void> acknowledge(
  1. {bool? hidden}
)

Acknowledge the underlying interaction without yet sending a response.

While the hidden and private arguments are guaranteed to hide/show the resulting response, slow commands might sometimes show strange behaviour in their responses. Acknowledging the interaction early with the correct value for hidden can prevent this behaviour.

You might also be interested in:

  • respond, for sending a full response.

Implementation

Future<void> acknowledge({bool? hidden});