IGPAPI
    Preparing search index...

    Type Alias ProfileActions

    The profile's actions. Written out so this action's inference does not make the definition circular: the suggested-user item's edge leads back to this screen, and a typeof profileItems in an inferred action type would close the loop. The annotation is checked against the implementation, so an item enter that starts failing or needing a service fails this type.

    type ProfileActions = {
        follow: (
            self: ScreenHandle,
            state: ProfileState,
        ) => () => Effect.Effect<
            ProfileFollowAnswer,
            ProfileFollowFailure,
            ProfileFollowServices,
        >;
    }
    Index

    Properties

    Properties

    follow: (
        self: ScreenHandle,
        state: ProfileState,
    ) => () => Effect.Effect<
        ProfileFollowAnswer,
        ProfileFollowFailure,
        ProfileFollowServices,
    >