Class Async

    • Constructor Detail

    • Method Detail

      • go

        public static Thread go​(Runnable runnable)
        Creates a new thread with the given Runnable, marks it daemon, starts it and returns the started thread.
        Parameters:
        runnable - TODO javadoc me please
        Returns:
        the started thread.
      • go

        public static Thread go​(Runnable runnable,
                                String threadName)
        Creates a new thread with the given Runnable, marks it daemon, sets the name, starts it and returns the started thread.
        Parameters:
        runnable - TODO javadoc me please
        threadName - the thread name.
        Returns:
        the started thread.