Skip to content

Commit

Permalink
Add additional context to Timers (#4542)
Browse files Browse the repository at this point in the history
* Update timers.md

* Update timers.md
  • Loading branch information
jessiemongeon1 authored May 17, 2024
1 parent 0b43753 commit 7805197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/md/writing-motoko/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 26

## Overview

ICP canisters can set an arbitrary number of single-expiration or recurring timers. See the [`Timer.mo`](../base/Timer.md) module in the base library.
On ICP, canisters can set recurring timers that execute a piece of code after a specified period of time or regular interval. Times in Motoko are implemented using the [`Timer.mo`](../base/Timer.md) module, and return a `TimerId`. `TimerId`s are unique for each timer instance. A canister can contain multiple timers.

## Example

Expand Down

0 comments on commit 7805197

Please sign in to comment.