Hacker News
new
past
comments
ask
show
jobs
points
by
ef2k
2 hours ago
|
comments
by
2 hours ago
|
next
[-]
deleted
reply
by
ziofill
2 hours ago
|
prev
|
[-]
Sounds very cool! What do you mean by “revert side effects it created”?
reply
by
ef2k
2 hours ago
|
parent
|
[-]
Anythign that needs to be cleaned up or undone goes in ctx.effect. It returns the "inverse" (the cleanup function) when the plugin loads. Cordis then stores it and runs it when the plugin unloads. Take a look at 5.1.1 in the paper.
reply