Did I find the right examples for you? yes no

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/m/o/mobster-HEAD/src/linkedin/mobster/webkitclient.py   mobster(Download)
 
from linkedin.mobster.utils import memoize
from utils import wait_until
 
class RemoteWebKitClient(object):
    self._communicator.send_cmd(command, args, response_handler)
 
    wait_until(lambda: self._received[rec_id])
    response = self._responses[rec_id]
    del self._received[rec_id]
                                response_handler)
 
    wait_until(lambda: self._got_js_result)
    return self._js_result
 
    self._communicator.send_cmd('Memory.getProcessMemoryDistribution', {}, response_handler)
 
    wait_until(lambda: self._memory_info)
    return self._memory_info
 
    self._sendw('Profiler.takeHeapSnapshot')
 
    wait_until(lambda: self._heap_snapshot_finished)
    self._communicator.remove_domain_callback('Profiler', 'heap_snapshot_progress')