Home GnuPG
Diffusion GPGME 461dd0c8b416

js: change in initialization ancd connection handling

Description

js: change in initialization ancd connection handling

  • The Connection will now be started before an object is created, to better account for failures.
  • index.js: now exposes an init(), which returns a Promise of configurable <GpgME | gpgmeGpgME_openPGPCompatibility> with an established connection.
  • TODO: There is currently no way to recover from a "connection lost"
  • Connection.js offers Connection.isConnected, which toggles on port closing.

Details

Provenance
mkrambachAuthored on Apr 24 2018, 6:44 PM
Parents
rM727340b295f2: js: don't allow message operation changes
Branches
Unknown
Tags
Unknown