Originally at 2014-10-18T11:28:54Z by Herbert Vojčík
Amber has BlockClosure >> valueWithInterval: and BlockClosure >> valueWithTimeout: which return instance of Timeout and can be descheduled by sending #clearInterval or #clearTimeout to it.
Pharo has BlockClosure >> valueWithInterval: and BlockClosure >> valueAfterWaiting: which return instance of Process and can be descheduled by sending #terminate to it.
Maybe we could rename our API to match Pharo's one.
Originally at 2014-10-18T11:28:54Z by Herbert Vojčík
Amber has `BlockClosure >> valueWithInterval:` and `BlockClosure >> valueWithTimeout:` which return instance of `Timeout` and can be descheduled by sending `#clearInterval` or `#clearTimeout` to it.
Pharo has `BlockClosure >> valueWithInterval:` and `BlockClosure >> valueAfterWaiting:` which return instance of `Process` and can be descheduled by sending `#terminate` to it.
Maybe we could rename our API to match Pharo's one.
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5368293-reify-subset-of-pharo-s-blockclosure-process-api?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2014-10-18T11:28:54Z by Herbert Vojčík
Amber has
BlockClosure >> valueWithInterval:
andBlockClosure >> valueWithTimeout:
which return instance ofTimeout
and can be descheduled by sending#clearInterval
or#clearTimeout
to it.Pharo has
BlockClosure >> valueWithInterval:
andBlockClosure >> valueAfterWaiting:
which return instance ofProcess
and can be descheduled by sending#terminate
to it.Maybe we could rename our API to match Pharo's one.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.