docs: protected void setActivityAsyncDelegates(final ActivityImpl activity) {
      activity.setDelegateAsyncAfterUpdate(new ActivityImpl.AsyncAfterUpdate() {
        @Override
        public void updateAsyncAfter(boolean asyncAfter, boolean exclusive) {
          if (asyncAfter) {
            addMessageJobDeclaration(new AsyncAfterMessageJobDeclaration(), activity, exclusive);
          } else {
            removeMessageJobDeclarationWithJobConfiguration(activity, MessageJobDeclaration.ASYNC_AFTER);
          }
        }
      });
  
      activity.setDelegateAsyncBeforeUpdate(new ActivityImpl.AsyncBeforeUpdate() {
        @Override
        public void updateAsyncBefore(boolean asyncBefore, boolean exclusive) {
          if (asyncBefore) {
            addMessageJobDeclaration(new AsyncBeforeMessageJobDeclaration(), activity, exclusive);
          } else {
            removeMessageJobDeclarationWithJobConfiguration(activity, MessageJobDeclaration.ASYNC_BEFORE);
          }
        }
      });
    }