Skip to content

Feature Request: Hooks #95

@AMythicDev

Description

@AMythicDev

Some actions inside minus need to performed on certain events regardless of the situation in which that event occured. For example, doing cleanup needs to be done anytime the user exits, regardless of whether the pager is in static or dynamic mode. Hence we need to proper system to tap into some special events and call functions on that event. Hooks are a feature that allows multiple callback functions to be registered with a event and whenever that event occur, all of those functions would be called.

This feature will also allow end-applications to add their own events. For example in a application that fetches data from the internet, whenever the user reaches the end of output, a callback function would be called to fetch more data.

Metadata

Metadata

Assignees

Labels

A: HooksCallback functions on events

Projects

Status

Planned 📆

Relationships

None yet

Development

No branches or pull requests

Issue actions