Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settimeout, setinterval 기능을 하는 블럭 추가 #40

Open
dwlee opened this issue Apr 24, 2015 · 0 comments
Open

settimeout, setinterval 기능을 하는 블럭 추가 #40

dwlee opened this issue Apr 24, 2015 · 0 comments

Comments

@dwlee
Copy link
Collaborator

dwlee commented Apr 24, 2015

js의 settimeout, setinterval 기능을 하는 블럭을 추가합니다.
settimeout 블럭에는 timeout을 설정할 수 있고, timeout 이 지나면 해당 블럭안의 내용을 실행하는 것이고,
setinterval 블럭에는 timeout을 설정하고, return 값으로 해당 interval의 핸들을 반환합니다.
매번 timeout이 되면 블럭안의 내용을 실행하고, 더 이상 실행하지 않을 경우에는 앞서 반환된 핸들을 인자로 release 합니다.

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

No branches or pull requests

1 participant