Project

General

Profile

Feature #2331

Updated by Junxiao Shi almost 10 years ago

Add a helper method to `Signal` template to hook a handler that executes only once. 

     Connection connectSingleShot(Handler connectForOnce(Handler handler); 

 The connection will be automatically disconnected after handle is executed once.

Back