code: async def wasSet(self, node, oldv):
          '''
          Fire the onset() handlers for this property.
  
          Args:
              node (synapse.lib.node.Node): The node whose property was set.
              oldv (obj): The previous value of the property.
          '''
          for func in self.onsets:
              try:
                  await s_coro.ornot(func, node, oldv)
              except asyncio.CancelledError:
                  raise
              except Exception:
                  logger.exception('onset() error for %s' % (self.full,)ync def wasSet(self, node, oldv):
          '''
          Fire the onset() handlers for this property.
  
          Args:
              node (synapse.lib.node.Node): The node whose property was set.
              oldv (obj): The previous value of the property.
          '''
          for func in self.onsets:
              try:
                  await s_coro.ornot(func, node, oldv)
              except asyncio.CancelledError:
                  raise
              except Exception:
                  logger.exception('onset() error for %s' % (self.full,))
docs: Fire the onset() handlers for this property.
  
          Args:
              node (synapse.lib.node.Node): The node whose property was set.
              oldv (obj): The previous value of the property.