BetterBags icon indicating copy to clipboard operation
BetterBags copied to clipboard

[Feature]: Contexts guide for Plugin Authors

Open lucasvienna opened this issue 1 year ago • 1 comments

Describe the feature

With the v0.3.0, Contexts have been introduced. It would be great if you could provide a quick write-up on best practices for when to emit new events or change the context between API calls, or even when new contexts might be required due to certain API calls closing the context.

Describe the implementation

A big comment on top of core/context.lua or something in the plugin example

lucasvienna avatar Sep 02 '24 19:09 lucasvienna

BetterBags_ItemRack kinda broke due to this, would appreciate some hints as to when to create contexts :)

Tremolo4 avatar Jan 01 '25 23:01 Tremolo4