Skip to content

replace Stats with proper ScheduledApiClient - #22

Open
binarynoise wants to merge 1 commit into
mainfrom
scheduled-api-client
Open

replace Stats with proper ScheduledApiClient#22
binarynoise wants to merge 1 commit into
mainfrom
scheduled-api-client

Conversation

@binarynoise

Copy link
Copy Markdown
Owner

No description provided.

) : StatsWorker<Api.Liberator.Error>(
appContext,
workerParams,
type = "Error",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't type be inferred from the generic Type of the class?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but T is a generic parameter and we can't access the ::class of a generic parameter, so we have to pass that in either way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants