Signal.st
changeset 21565 26083269801c
parent 21435 10e79ee6ff8e
child 21855 01676c1d34a1
equal deleted inserted replaced
21564:8e4d7d44dc2a 21565:26083269801c
   985 
   985 
   986 ignoreIn:aBlock
   986 ignoreIn:aBlock
   987     "evaluate the argument, aBlock.
   987     "evaluate the argument, aBlock.
   988      Ignore the receiver-signal during evaluation - i.e. simply continue.
   988      Ignore the receiver-signal during evaluation - i.e. simply continue.
   989      This makes only sense for some signals, such as UserInterrupt
   989      This makes only sense for some signals, such as UserInterrupt
   990      or AbortSignal, because continuing after an exception without any cleanup
   990      or AbortOperationRequest, because continuing after an exception without any cleanup
   991      often leads to followup-errors."
   991      often leads to followup-errors."
   992 
   992 
   993      ^ self handle:[:ex | ex proceedWith:nil] do:aBlock.
   993      ^ self handle:[:ex | ex proceedWith:nil] do:aBlock.
   994 
   994 
   995      "
   995      "
   996       Object messageNotUnderstoodSignal ignoreIn:[
   996       Object messageNotUnderstoodSignal ignoreIn:[
   997 	 123 size open
   997          123 size open
   998       ]
   998       ]
   999      "
   999      "
       
  1000 
       
  1001     "Modified (comment): / 24-02-2017 / 11:15:55 / stefan"
  1000 ! !
  1002 ! !
  1001 
  1003 
  1002 !Signal class methodsFor:'documentation'!
  1004 !Signal class methodsFor:'documentation'!
  1003 
  1005 
  1004 version
  1006 version