Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Delay in @Background #332

Description

@pyricau

@UiThread may have a delay param :

@UiThread(delay=2000)
void doInUiThreadAfterTwoSeconds() {
}

We could do the same thing for @Background :

@Background(delay=2000)
void doInBackgroundAfterTwoSeconds() {
}

Activity

  1. dodgex commented on Jan 12, 2013

    @dodgex
    Member

    Would love to see that.

  2. mathieuboniface commented on Jan 12, 2013

    @mathieuboniface
    Contributor

    I've just planned it for 3.0 :)

  3. yDelouis commented on Apr 17, 2013

    @yDelouis
    Contributor

    I think this issue can be closed since my PR has been merged.

  4. mathieuboniface commented on Apr 17, 2013

    @mathieuboniface
    Contributor

    We need to document this new parameter on the wiki : https://github.com/excilys/androidannotations/wiki/WorkingWithThreads

    But we will do this just before the 3.0 release and this issue will be closed at this time.

  5. DayS commented on Jul 12, 2013

    @DayS
    Contributor

    Already documented :) I'm closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions