Thread overview |
---|
February 06, 2019 Using Async task with timer | ||||
---|---|---|---|---|
| ||||
Hi All, I am trying to use an Async task which would run at every interval of time. I could not find any example for this. Can some one enlighten me on this. I did not find much documentation on timers also. Thanks, Sudhi |
February 06, 2019 Re: Using Async task with timer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sudhi | On Wednesday, 6 February 2019 at 05:03:26 UTC, Sudhi wrote: > Hi All, > > I am trying to use an Async task which would run at every interval of time. > > I could not find any example for this. Can some one enlighten me on this. I did not find much documentation on timers also. > > Thanks, > Sudhi Here is an example, https://github.com/huntlabs/hunt/blob/master/examples/UnitTest/source/test/ScheduledThreadPoolTest.d You can have a try. |
February 06, 2019 Re: Using Async task with timer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Heromyth | On Wednesday, 6 February 2019 at 05:17:51 UTC, Heromyth wrote:
> On Wednesday, 6 February 2019 at 05:03:26 UTC, Sudhi wrote:
>> Hi All,
>>
>> I am trying to use an Async task which would run at every interval of time.
>>
>> I could not find any example for this. Can some one enlighten me on this. I did not find much documentation on timers also.
>>
>> Thanks,
>> Sudhi
>
> Here is an example, https://github.com/huntlabs/hunt/blob/master/examples/UnitTest/source/test/ScheduledThreadPoolTest.d
>
> You can have a try.
Thanks you, Example has helped me a lot.
|
Copyright © 1999-2021 by the D Language Foundation