make IServer.sts_policy() async in case e.g. saving needs await

This commit is contained in:
jesopo 2020-04-20 16:24:26 +01:00
parent 8340419b99
commit 4831ec88fb
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ class IServer(Server):
pass
async def line_send(self, line: Line):
pass
def sts_policy(self, sts: STSPolicy):
async def sts_policy(self, sts: STSPolicy):
pass
async def next_line(self) -> Optional[Tuple[Line, List[Emit]]]: