heartbeat

This section is a work in progress.

Examples:

import { Canister, heartbeat } from 'azle/experimental';

export default Canister({
    heartbeat: heartbeat(() => {
        console.log('this runs ~1 time per second');
    })
});