# postRegisterCallback method

1. @override

Future <void> postRegisterCallback()
override

Called after the registration of all managers against the XmppConnection is done. This method is only called once during the entire lifetime of it.

## Implementation

    @override
    Future<void> postRegisterCallback() async {
      await super.postRegisterCallback();

      // Register the sending callback
      getAttributes()
          .getManagerById<MessageManager>(messageManager)
          ?.registerMessageSendingCallback(messageSendingCallback);
    }