a2ui-project / a2ui-project/a2ui

[FEATURE]: Rename ClientFunction to AsynchronousClientFunction in Flutter renderer

Abierto
#2,066 1 comentario 0 reacciones 1 asignado Reclamado por @gspencergoog Ver en GitHub
component: genui P2
Lenguaje dominante
TypeScript
Estrellas
16.4k
Forks
1.3k
Merge medio
2 d 13 h
PR fusionados (30 d)
134

Descripción

- [X] I have searched the existing issues to make sure this feature has not already been requested.

## Is your feature request related to a problem? Please describe.

In the Flutter rendered, client-side functions come in two varieties, synchronous and asynchronous. Because of the way they were implemented, the names ended up as `SynchronousClientFunction` and `ClientFunction`.

## Describe the Proposed Solution

While they're perfectly usable this way, I believe it would be easier for new devs to adopt the API if they were renamed to `SynchronousClientFunction` and `AsynchronousClientFunction` (or `Sync-` and `Async-`).

## Describe Alternatives Considered

The main alternative would be to leave them as is, though I think devs are used to seeing Sync/Async naming conventions.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.