Padloc Logo Docs & Resources

Module: api

Classes

Type Aliases

PromiseWithProgress

Ƭ PromiseWithProgress<T>: Promise<T> & { progress?: RequestProgress }

Type parameters

Name
T

Defined in

core/src/api.ts:421

Functions

Handler

Handler(input, output): (proto: API, method: string) => void

Decorator for defining request handler methods

Parameters

Name Type
input undefined | SerializableConstructor | StringConstructor
output undefined | SerializableConstructor | StringConstructor

Returns

fn

▸ (proto, method): void

Parameters
Name Type
proto API
method string
Returns

void

Defined in

core/src/api.ts:405