OTP應用函數(shù) start_type/0

2018-10-13 14:26 更新

application:start_type/0

獲取當前進程所屬應用程序的啟動類型

用法:

start_type() -> StartType | undefined | local

獲取當前進程所屬應用程序的啟動類型。

如果被調用中的進程并不屬于任何一個應用,那么函數(shù)則返回 undefined。

application:start_type().
以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號