Closed waywardmonkeys closed 3 months ago
It might be nice to be able to have a World::defer and call it with a closure / function which would wrap it in defer_begin / defer_end calls.
World::defer
defer_begin
defer_end
This might not interact as well with defer_suspend / defer_resume, but maybe that's less important.
defer_suspend
defer_resume
this already exists for quite some time,
in case you wonder "does this function exist from the cpp api" you can do a search generally from [cpp class name]::[function name]
cpp api
[cpp class name]::[function name]
It might be nice to be able to have a
World::defer
and call it with a closure / function which would wrap it indefer_begin
/defer_end
calls.This might not interact as well with
defer_suspend
/defer_resume
, but maybe that's less important.