mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-06 09:08:33 +00:00
GODT-1409 Wait in GetEvents during message preparation for live API.
This commit is contained in:
@ -42,6 +42,8 @@ type PMAPIController interface {
|
||||
WasCalled(method, path string, expectedRequest []byte) bool
|
||||
WasCalledRegex(methodRegex, pathRegex string, expectedRequest []byte) (bool, error)
|
||||
GetCalls(method, path string) [][]byte
|
||||
LockEvents()
|
||||
UnlockEvents()
|
||||
}
|
||||
|
||||
func newPMAPIController(app string, listener listener.Listener) (PMAPIController, pmapi.Manager) {
|
||||
|
||||
Reference in New Issue
Block a user