Packages

 

com.aspose.imaging.asynctask

Class AsyncTask



  • public final class AsyncTask
    extends Object

    The static factory class for creating the asynchronous tasks

    • Method Detail

      • create

        public static IAsyncTask create(AsyncTaskAction taskAction)

        Creates the asynchronous task without any result.

        Parameters:
        taskAction - The task action.
        Returns:
        The asynchronous task
      • create

        public static IAsyncTask create(AsyncTaskFunc taskFunc)

        Creates the asynchronous task with generic type result.

        Parameters:
        taskFunc - The task function.
        Returns:
        The asynchronous task