Interface WorkResultHandler<R>

  • Type Parameters:
    R - result

    public interface WorkResultHandler<R>
    Hanlder permettant de définir le comportement après exécution asynchrone d'un work.
    Author:
    pchretien, npiedeloup
    • Method Detail

      • onStart

        void onStart()
        Démarrage de l'exécution de la tache. Notification pour information.
      • onDone

        void onDone​(R result,
                    Throwable error)
        Exécution terminée .
        Parameters:
        result - Résultat de l'excution (null si echec)
        error - Exception (null si succès)