const groupsAsync: InvokeCallbackFunction<GroupOutput> = (
  state,
  error,
  callback
) => {