async_utils 모듈

async_utils 모듈은 비동기 계산에 사용되는 프리미티브를 제공합니다.

class substance_painter.async_utils.StopSource(stop_source: _substance_painter.async_utils.StopSource) substance_painter.async_utils.StopSource

비동기 계산을 취소하는 데 사용할 수 있는 개체입니다.

매개 변수: stop_source (_substance_painter.async_utils.StopSource)

request_stop() -> bool substance_painter.async_utils.StopSource.request_stop

중지 요청을 만듭니다.

중지 요청이 가능한 경우 반환: True

반환 형식: bool

stop_requested() -> bool substance_painter.async_utils.StopSource.stop_requested

중지 요청이 이루어졌는지 확인합니다.

중지 요청이 이루어진 경우 반환: True

반환 형식: bool

recommendation-more-help
substance-3d-dev-help-painter-python-guide