onSuccess abstract method

Registration onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the registration completed successfully.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which is invoked on successful registration.

Returns: a Registration object.

Implementation

Registration onSuccess(Function onSuccess);