Script.update.connect() but how to disconnect?


Working on script that need for some time a timer, that i want todo with Script.update.connect(function). But how do i discounect the fucntion ?

Script.update.connect(function) -> works
Script.update.disconnect() -> fail

Is there some way ? or what do i wrong ?


Ok, problem solved, want to report that the command exists and work, if placed at the right line.