• Eduardo Sanz García's avatar
    Make PortProvider#listen a private method · c5e02b31
    Eduardo Sanz García authored
    I can't see any negative consequence of starting to listen to
    postMessage discovery message immediately after `PortProvider` is
    instantiated. (In fact, this is what it was currently happening). These
    messages won't be lost, and the `PortRPC`s won't create the
    communication channels before the RPC methods are registered.
    
    On the other hand, it simplifies the use of `PortProvider` and
    eliminates the potential problem of `PortProvider#listen` been called
    more than once.
    c5e02b31
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...