diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-06-10 22:46:11 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-07-05 21:32:43 +0900 |
commit | caced372415a944c4297157397d0027ba629fff0 (patch) | |
tree | d2b86fbea66063abba5a39ff6f4cc1487d8474c9 /src/console/app/contexts.ts | |
parent | 0d3cb2b613f0d03972cbb4217c4d705946959975 (diff) |
Return a value to background script
This change makes the content script able to return a value to the
background script by the following steps: 1) receive messages in a
single listener, 2) return value with Promise in `onMessage`.
Diffstat (limited to 'src/console/app/contexts.ts')
0 files changed, 0 insertions, 0 deletions