blob: 2fe8d019d0e7d157f8e37677be67e6a1197ee1cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import * as operations from '../../shared/operations';
import * as messages from '../../shared/messages';
export default class BackgroundClient {
execBackgroundOp(op: operations.Operation): Promise<void> {
return browser.runtime.sendMessage({
type: messages.BACKGROUND_OPERATION,
operation: op,
});
}
}
|