https://toitlang.org/ logo
and change provision.toit for use callback to ```...
# general
i
and change provision.toit for use callback to
Copy code
constructor name/string
      --custom-service-callback/Lambda = null
      --security-credentials/SecurityCredentials?=null
      --auto-save/bool=true:
    done-latch := monitor.Latch
    done-latch_ = done-latch
    ble_ = BleProvision
        --name=name
        --security-credentials=security-credentials
        --done=:: done-latch.set it
        --auto-save=auto-save
        --custom-callback= custom-service-callback