updateHookStateAsync

fun updateHookStateAsync(globalKey: String, updater: HookUpdater, attribution: String, isCreateLayoutInProgress: Boolean, isLayoutState: Boolean)

Same as updateStateAsync but for Hook State.