我 Myitem1.MyFunc();
Myitem2.MyFunc();
function MyFunc(){
if (okToUpdate){
//we weren't here from anywhere within the last 100 milliseconds
}
}
不幸的是,okToUpdate變量不會立即更新,所以還需要從功能的前一次
我的問題有點類似這些問題: replay a list of functions and parameters C# delegate for two methods with different parameters 我的目標是存儲與它們在列表中的參數函數調用,調用他們一個不同的線程,由我的經理級別安排。 當函數被調用時,其自身添加到的記住參數的功能列表和值 當函數結束時,我想找回返回對象(如果