lua-users home
lua-l archive

Re: Lua 5.4.0-alpha-rc1 behavior with closing methods errors

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I think I like <bind> or <watch> for <toclose> then you could potentially "watch" other events like _close, _change, _access or other as metamethods. Semantically, it paints an idea that you're waiting for a trigger or event while not assuming you're using it to clean up or close a resource.

AltStyle によって変換されたページ (->オリジナル) /