Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlaerte committed Jun 19, 2018
1 parent c04f8dd commit 71610be
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Travis-CI](https://travis-ci.org/victorlaerte/javafx-asynctask.svg?branch=master)](https://github.com/victorlaerte/javafx-asynctask)
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badge/)

AsyncTask
JavaFx AsyncTask
=========

This class was created to simplify how to handle Thread tasks in Javafx, and it is based on the same idea of AsyncTask from Android.
Expand All @@ -12,6 +12,22 @@ An asynchronous task is defined by a computation that runs on a background threa

Optionally you have the method setDaemon to set your threads daemon, which means that if your javafx application has been closed it can still running or not. setDamon(boolean) can only be called before the thread has been started. By default the thread is set to daemon.

Use
=========
**Maven**
```
<dependency>
<groupId>com.victorlaerte</groupId>
<artifactId>jfx-asynctask</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
```
**Gradle**
```
compile group: 'com.victorlaerte', name: 'jfx-asynctask', version: '1.0.1', ext: 'pom'
```

Methods
=========

Expand Down

0 comments on commit 71610be

Please sign in to comment.