Packages

 

com.aspose.imaging.asynctask

Class AsyncTaskFunc

  • java.lang.Object
    • com.aspose.ms.System.Delegate
      • com.aspose.ms.System.MulticastDelegate
        • com.aspose.imaging.asynctask.AsyncTaskFunc


  • public abstract class AsyncTaskFunc
    extends com.aspose.ms.System.MulticastDelegate

    The long operation delegate for the asynchronous task with generic type result.

    • Constructor Detail

      • AsyncTaskFunc

        public AsyncTaskFunc()
    • Method Detail

      • invoke

        public abstract Object invoke(IAsyncTaskState taskState)

        The long operation delegate for the asynchronous task with generic type result.

        Parameters:
        taskState - State of the asynchronous task.
        Returns:
        Result of the long operation.
      • beginInvoke

        public final com.aspose.ms.System.IAsyncResult beginInvoke(IAsyncTaskState taskState,
                                                                   com.aspose.ms.System.AsyncCallback callback,
                                                                   Object state)
      • endInvoke

        public final Object endInvoke(com.aspose.ms.System.IAsyncResult result)