Skip to content

Add async timeinterval #3

@petervaro

Description

@petervaro

Add support for simple time-out and repeat interval schedules. Each object can have these callbacks, and each can have exactly one:

kb_Error <object>_bind_on_time(<object> self,
                               double miliseconds,
                               kb_Error(*)(<object>, ...);
kb_Error <object>_bind_on_interval(<object> self,
                                   double miliseconds,
                                   kb_Error(*)(<object>, ...));
kb_Error <object>_unbind_on_(time|interval)(<object>);

As well as more advanced forking:

kb_Error <object>_on_exit(...) => should join all processes 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions