Skip to content

Commit 8c16b12

Browse files
committed
Add info on the interface method
1 parent d28182c commit 8c16b12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ $task = new AsyncTask(function () use ($target) {
3838
fclose($fp);
3939
});
4040

41+
// if you are using interfaces, then it is just like this:
42+
// $task = new AsyncTask(new WriteToFileTask($target, $message));
43+
4144
// then start it.
4245
$task->start();
4346

0 commit comments

Comments
 (0)