Skip to content

1.0.0 - moon

Compare
Choose a tag to compare
@luoxiu luoxiu released this 26 Sep 05:42
· 85 commits to master since this release
  • Rename struct Schedule to Plan
    It is not wise to let a type have the same name as framework.

  • Remove ParasiticTask
    Now, each constructor has the host parameter(default is nil).

  • Add RunLoopTask
    Before 1.x, Schedule will execute tasks on a global dispatch queue when time is up by default. Now tasks will be executed on the current thread, its implementation is based on RunLoop, which means that you need to ensure that the current thread has a runloop available. So it is still recommended to use dispatch queue to construct the task.