Erlang Factory SF 2015 - Louis-Philippe Gauthier - Debugging Complex Systems

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ย. 2024

ความคิดเห็น • 1

  • @RobertoAloi
    @RobertoAloi 9 ปีที่แล้ว

    You don't need to implement your own functions to access a gen_server's state.
    You can simply use the sys:get_state/1 and sys:get_status/1 functions: www.erlang.org/doc/man/sys.html#get_status-1