소스 검색

Export `run_as_background_process` from the module API (#15577)

Shay 1 년 전
부모
커밋
ba572647b2
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      changelog.d/15577.misc
  2. 1 0
      synapse/module_api/__init__.py

+ 1 - 0
changelog.d/15577.misc

@@ -0,0 +1 @@
+Export `run_as_background_process` from the module API.

+ 1 - 0
synapse/module_api/__init__.py

@@ -156,6 +156,7 @@ __all__ = [
     "parse_json_object_from_request",
     "respond_with_html",
     "run_in_background",
+    "run_as_background_process",
     "cached",
     "NOT_SPAM",
     "UserID",