Skip to content

Releases: tinyplex/tinytick

v1.1

08 Apr 01:11
Compare
Choose a tag to compare

This release contains a very simple React integration. It's in the ui-react module and literally just adds a hook around the createManager function and a context component. Stay tuned for more interesting features in the future!

v1.0.3

17 Mar 18:32
Compare
Choose a tag to compare

The release updates development dependencies.

v1.0.2

13 Mar 04:36
Compare
Choose a tag to compare

This is the first release! Not much to say, except welcome - and hopefully you get a chance to try TinyTick out and see if it's useful for you.

Want to get started quickly?

npm install tinytick

Here's a minimum viable TinyTick application:

import {createManager} from 'tinytick';

const manager = createManager();
manager.setTask('hello', async (noun) => console.log(`Hello ${noun}!`));

manager.scheduleTaskRun('hello', 'world', 500);
manager.scheduleTaskRun('hello', 'universe', 1000);

manager.start();
// ... wait 550ms to be sure the first task run has been executed
// -> 'Hello world!'

// ... wait 550ms to be sure the second task run has been executed
// -> 'Hello universe!'

Then read our guides and API documentation to learn more about what you can do.

And we've got plans, so stay tuned!