Skip to content

Add Event timers #33

@f5yacobucci

Description

@f5yacobucci

Is your feature request related to a problem? Please describe.
While working on a retry module it became clear there was no facility to schedule actions for the future. NGINX supports timers via the event API. Exposing event timers can be useful to a variety of use cases: repetitive actions outside of I/O events, timeouts for I/O events, or one shot condition checks.

Describe the solution you'd like
Expose an idiomatic Rust API for NGINX ngx_event_t types. The first set of APIs required is to expose timers. A proposal for this work is here and is generally complete, but needs to be broken apart from other features (subrequest updates).

This issue should start with the existing branch and only pull over the necessary Event timer API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions