Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Archived-Repositorie/hexevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexevent

Simple callback based event system.

Example Usage

use hexevent::event::*;
fn main() {
    let mut key = EventKey::new(|callbacks: &[&str]| {
        for callback in callbacks {
            println!("{}", callback);
        }
    });
    key.on_event("Hello");
    key.on_event("World");
    key.invoke();
}

About

Callback event library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages