You can do:

```javascript
SilentSms.enableSilentModeFor(data.smsNumbers, data.type)
    .then(updateUsageSilentSms)
    .then(port.postMessage.bind(port, 'silentSMSEnabled'));
```

The function you pass to `then`  gets the result of the promise as parameter, so this should just work