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

Delay in @Background #332

Closed
pyricau opened this issue Oct 5, 2012 · 5 comments
Closed

Delay in @Background #332

pyricau opened this issue Oct 5, 2012 · 5 comments

Comments

@pyricau
Copy link
Contributor

pyricau commented Oct 5, 2012

@UiThread may have a delay param :

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

We could do the same thing for @Background :

@Background(delay=2000)
void doInBackgroundAfterTwoSeconds() {
}
@dodgex
Copy link
Member

dodgex commented Jan 12, 2013

Would love to see that.

@mathieuboniface
Copy link
Contributor

I've just planned it for 3.0 :)

@yDelouis
Copy link
Contributor

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

@mathieuboniface
Copy link
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.

@DayS
Copy link
Contributor

DayS commented Jul 12, 2013

Already documented :) I'm closing this one

@DayS DayS closed this as completed Jul 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants